Updated: signal now uses a void function

This commit is contained in:
ceriel 1993-11-17 11:04:32 +00:00
parent 90134a3bea
commit 2309d12210
2 changed files with 7 additions and 7 deletions

View file

@ -51,10 +51,10 @@
#endif #endif
#define SIG_DFL ((int (*)())0) /* default signal handling */ #define SIG_DFL ((void (*)())0) /* default signal handling */
#define SIG_IGN ((int (*)())1) /* ignore signal */ #define SIG_IGN ((void (*)())1) /* ignore signal */
#define SIG_ERR ((int (*)())-1) #define SIG_ERR ((void (*)())-1)
int (*signal()) (); void (*signal()) ();
#endif /* _SIGNAL_H */ #endif /* _SIGNAL_H */

View file

@ -21,6 +21,6 @@
#define SIGALRM 14 /* alarm clock */ #define SIGALRM 14 /* alarm clock */
#define SIGTERM 15 /* software termination signal from kill */ #define SIGTERM 15 /* software termination signal from kill */
int (*signal())(); void (*signal())();
#define SIG_DFL (int (*)())-2 #define SIG_DFL (void (*)())-2
#define SIG_IGN (int (*)())-3 #define SIG_IGN (void (*)())-3