diff options
author | ngie <ngie@FreeBSD.org> | 2014-11-17 13:39:00 +0000 |
---|---|---|
committer | ngie <ngie@FreeBSD.org> | 2014-11-17 13:39:00 +0000 |
commit | 8177391ac84430aeb73987802ea58e8bfe9ba72b (patch) | |
tree | 5afba437c6e7f13eeeb63c7313aa547c8c24536d /contrib/netbsd-tests/lib/libc/sys/t_sigqueue.c | |
parent | e5d03fbe91f9f0c573d55b2d87f2a1eb517ba14b (diff) | |
download | FreeBSD-src-8177391ac84430aeb73987802ea58e8bfe9ba72b.zip FreeBSD-src-8177391ac84430aeb73987802ea58e8bfe9ba72b.tar.gz |
Mechanically replace #if defined(__FreeBSD__) and #if defined(__NetBSD__) with
their #ifdef equivalents for everything changed in contrib/netbsd-tests. There
are some items from the vendor tree that use #if defined(__FreeBSD__) or
#if defined(__NetBSD__) which are being left alone
Requested by: bde, rpaulo
Sponsored by: EMC / Isilon Storage Division
Diffstat (limited to 'contrib/netbsd-tests/lib/libc/sys/t_sigqueue.c')
-rw-r--r-- | contrib/netbsd-tests/lib/libc/sys/t_sigqueue.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/netbsd-tests/lib/libc/sys/t_sigqueue.c b/contrib/netbsd-tests/lib/libc/sys/t_sigqueue.c index ac7d3ad..6686f02 100644 --- a/contrib/netbsd-tests/lib/libc/sys/t_sigqueue.c +++ b/contrib/netbsd-tests/lib/libc/sys/t_sigqueue.c @@ -46,7 +46,7 @@ static void handler(int, siginfo_t *, void *); static int value; static void -#if defined(__FreeBSD__) +#ifdef __FreeBSD__ handler(int signo __unused, siginfo_t *info __unused, void *data __unused) #else handler(int signo, siginfo_t *info, void *data) @@ -76,7 +76,7 @@ ATF_TC_BODY(sigqueue_basic, tc) sv.sival_int = VALUE; -#if defined(__FreeBSD__) +#ifdef __FreeBSD__ /* * From kern_sig.c: * Specification says sigqueue can only send signal to single process. |