public
/
ack.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0c2b6f5
)
Declare raise() for Mac OS X.
author
George Koehler
<xkernigh@netscape.net>
Wed, 30 Nov 2016 19:33:40 +0000
(14:33 -0500)
committer
George Koehler
<xkernigh@netscape.net>
Wed, 30 Nov 2016 19:33:40 +0000
(14:33 -0500)
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.
plat/osx/include/unistd.h
patch
|
blob
|
history
diff --git
a/plat/osx/include/unistd.h
b/plat/osx/include/unistd.h
index
320db4a
..
bafa2a6
100644
(file)
--- a/
plat/osx/include/unistd.h
+++ b/
plat/osx/include/unistd.h
@@
-120,6
+120,8
@@
int kill(pid_t, int);
int sigaction(int, const struct sigaction *, struct sigaction *);
sig_t signal(int, sig_t);
+int raise(int); /* in libc */
+
/* XXX - end signal.h */
void _exit(int);