From f309785ee7e206af7778e32883e5e8cdfba081b3 Mon Sep 17 00:00:00 2001 From: Matthias Kruk Date: Tue, 14 Jan 2020 20:27:07 +0900 Subject: [PATCH] Add prototypes for functions manipulating sigset_t types --- include/signal.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/include/signal.h b/include/signal.h index 1a9a1bd..78031e2 100644 --- a/include/signal.h +++ b/include/signal.h @@ -1,6 +1,8 @@ #ifndef __SIGNAL_H #define __SIGNAL_H +#include + #define SIGHWINT 0 /* Corax specific: hardware interrupt signal */ #define SIGHUP 1 #define SIGINT 2 @@ -104,6 +106,12 @@ typedef void (*sighandler_t)(int); extern int sigaction(int, const struct sigaction*, struct sigaction*); +extern int sigemptyset(sigset_t*); +extern int sigfillset(sigset_t*); +extern int sigaddset(sigset_t*, int); +extern int sigdelset(sigset_t*, int); +extern int sigismember(const sigset_t*, int); + #endif /* __ASSEMBLY_SOURCE */ #endif /* __SIGNAL_H */ -- 2.47.3