summaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorgjb <gjb@FreeBSD.org>2016-03-10 21:16:01 +0000
committergjb <gjb@FreeBSD.org>2016-03-10 21:16:01 +0000
commit1c7e318a9a31cae130bd5b2de01d93e7800f66ff (patch)
tree5abb86d0e160314526bb716fff070a6708d61844 /contrib
parent8c3e466633f443f8af1bf868eb74c53b39b63fb8 (diff)
parent03f8f8e39672316bbe0cad522f381fab54de0b6e (diff)
downloadFreeBSD-src-1c7e318a9a31cae130bd5b2de01d93e7800f66ff.zip
FreeBSD-src-1c7e318a9a31cae130bd5b2de01d93e7800f66ff.tar.gz
MFH
Sponsored by: The FreeBSD Foundation
Diffstat (limited to 'contrib')
-rw-r--r--contrib/netbsd-tests/lib/libc/setjmp/t_setjmp.c2
-rw-r--r--contrib/netbsd-tests/lib/libc/setjmp/t_threadjmp.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/contrib/netbsd-tests/lib/libc/setjmp/t_setjmp.c b/contrib/netbsd-tests/lib/libc/setjmp/t_setjmp.c
index 4d2a93b..34fd5cc 100644
--- a/contrib/netbsd-tests/lib/libc/setjmp/t_setjmp.c
+++ b/contrib/netbsd-tests/lib/libc/setjmp/t_setjmp.c
@@ -87,7 +87,7 @@ __RCSID("$NetBSD: t_setjmp.c,v 1.1 2010/12/27 19:35:31 pgoyette Exp $");
static int expectsignal;
static void
-aborthandler(int signo)
+aborthandler(int signo __unused)
{
ATF_REQUIRE_MSG(expectsignal, "kill(SIGABRT) succeeded");
atf_tc_pass();
diff --git a/contrib/netbsd-tests/lib/libc/setjmp/t_threadjmp.c b/contrib/netbsd-tests/lib/libc/setjmp/t_threadjmp.c
index 4437c92..2014470 100644
--- a/contrib/netbsd-tests/lib/libc/setjmp/t_threadjmp.c
+++ b/contrib/netbsd-tests/lib/libc/setjmp/t_threadjmp.c
@@ -91,7 +91,7 @@ static pthread_t myself = NULL;
static int expectsignal;
static void
-aborthandler(int signo)
+aborthandler(int signo __unused)
{
ATF_REQUIRE(myself == pthread_self());
ATF_REQUIRE_MSG(expectsignal, "kill(SIGABRT) succeeded");
OpenPOWER on IntegriCloud