]> git.saurik.com Git - apple/libc.git/blob - stdlib/FreeBSD/abort.c.patch
938d418a0ddeddc9334d3b4f2694c7fe2d3dec4b
[apple/libc.git] / stdlib / FreeBSD / abort.c.patch
1 --- abort.c.orig Mon Apr 28 16:37:26 2003
2 +++ abort.c Sat May 3 14:27:55 2003
3 @@ -43,12 +43,9 @@
4 #include <unistd.h>
5 #include <pthread.h>
6
7 -void (*__cleanup)();
8 -
9 -/* XXX - why are these declarations here? */
10 -extern int __sys_sigprocmask(int, const sigset_t *, sigset_t *);
11 -extern int __sys_sigaction(int, const struct sigaction *,
12 - struct sigaction *);
13 +extern void (*__cleanup)();
14 +#define __sys_sigprocmask sigprocmask
15 +#define __sys_sigaction sigaction
16
17 void
18 abort()