Declare raise() for Mac OS X.
This prevents the warning, "implicit declaration of function raise", in programs that call raise(). I forgot to declare it because the function raise() is in libc but the declaration goes in libsys.
This commit is contained in:
parent
0c2b6f523c
commit
543bbcb9ab
|
@ -120,6 +120,8 @@ int kill(pid_t, int);
|
||||||
int sigaction(int, const struct sigaction *, struct sigaction *);
|
int sigaction(int, const struct sigaction *, struct sigaction *);
|
||||||
sig_t signal(int, sig_t);
|
sig_t signal(int, sig_t);
|
||||||
|
|
||||||
|
int raise(int); /* in libc */
|
||||||
|
|
||||||
/* XXX - end signal.h */
|
/* XXX - end signal.h */
|
||||||
|
|
||||||
void _exit(int);
|
void _exit(int);
|
||||||
|
|
Loading…
Reference in a new issue