summaryrefslogtreecommitdiffstats
path: root/contrib/netbsd-tests
diff options
context:
space:
mode:
authorngie <ngie@FreeBSD.org>2014-10-23 07:11:58 +0000
committerngie <ngie@FreeBSD.org>2014-10-23 07:11:58 +0000
commit3dacc6b94766f84205f3ddd88bbb78f816e042e4 (patch)
tree63197086ae299f9e826bd9dfec562b02b4cb3451 /contrib/netbsd-tests
parent063789a366c7b25200ee154bc9f7ab8bb0b0d557 (diff)
downloadFreeBSD-src-3dacc6b94766f84205f3ddd88bbb78f816e042e4.zip
FreeBSD-src-3dacc6b94766f84205f3ddd88bbb78f816e042e4.tar.gz
Mark signo __unused in handler(..)
Sponsored by: EMC / Isilon Storage Division
Diffstat (limited to 'contrib/netbsd-tests')
-rw-r--r--contrib/netbsd-tests/lib/libc/sys/t_nanosleep.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/contrib/netbsd-tests/lib/libc/sys/t_nanosleep.c b/contrib/netbsd-tests/lib/libc/sys/t_nanosleep.c
index 317d667..1712d81 100644
--- a/contrib/netbsd-tests/lib/libc/sys/t_nanosleep.c
+++ b/contrib/netbsd-tests/lib/libc/sys/t_nanosleep.c
@@ -45,7 +45,11 @@ __RCSID("$NetBSD: t_nanosleep.c,v 1.3 2013/03/31 16:47:16 christos Exp $");
#include <unistd.h>
static void
+#if defined(__FreeBSD__)
+handler(int signo __unused)
+#else
handler(int signo)
+#endif
{
/* Nothing. */
}
OpenPOWER on IntegriCloud