diff --git a/include/_tail_cc/signal.h b/include/_tail_cc/signal.h index 38d159c05..d5bf433c6 100644 --- a/include/_tail_cc/signal.h +++ b/include/_tail_cc/signal.h @@ -51,10 +51,10 @@ #endif -#define SIG_DFL ((int (*)())0) /* default signal handling */ -#define SIG_IGN ((int (*)())1) /* ignore signal */ -#define SIG_ERR ((int (*)())-1) +#define SIG_DFL ((void (*)())0) /* default signal handling */ +#define SIG_IGN ((void (*)())1) /* ignore signal */ +#define SIG_ERR ((void (*)())-1) -int (*signal()) (); +void (*signal()) (); #endif /* _SIGNAL_H */ diff --git a/include/_tail_mon/signal.h b/include/_tail_mon/signal.h index f74a88767..b693e9a85 100644 --- a/include/_tail_mon/signal.h +++ b/include/_tail_mon/signal.h @@ -21,6 +21,6 @@ #define SIGALRM 14 /* alarm clock */ #define SIGTERM 15 /* software termination signal from kill */ -int (*signal())(); -#define SIG_DFL (int (*)())-2 -#define SIG_IGN (int (*)())-3 +void (*signal())(); +#define SIG_DFL (void (*)())-2 +#define SIG_IGN (void (*)())-3