Updated: signal now uses a void function
This commit is contained in:
parent
90134a3bea
commit
2309d12210
|
@ -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 */
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue