From 3713682c1df6102522c531f3ce5848cef2b915e5 Mon Sep 17 00:00:00 2001 From: Alan Cox Date: Fri, 2 Jan 2015 10:06:18 +0000 Subject: [PATCH] signal: correct handler prototype, removed bogus SIG_HOLD From: Sergio L. Pascual --- Library/include/signal.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Library/include/signal.h b/Library/include/signal.h index b14babc4..60964210 100644 --- a/Library/include/signal.h +++ b/Library/include/signal.h @@ -52,11 +52,10 @@ typedef enum { typedef uint32_t sigset_t; /* at least 16 bits: use 32 in user space */ /* for expansion space */ /* Type of a signal handler. */ -typedef void (*sighandler_t) __P((signal_t)); +typedef void (*sighandler_t) __P((int)); #define SIG_DFL ((sighandler_t)0) /* default signal handling */ #define SIG_IGN ((sighandler_t)1) /* ignore signal */ -#define SIG_HOLD ((sighandler_t)2) /* hold signal */ #define SIG_ERR ((sighandler_t)-1) /* error return from signal */ extern char *sys_siglist[]; -- 2.34.1