diff options
author | ngie <ngie@FreeBSD.org> | 2017-02-09 22:57:56 +0000 |
---|---|---|
committer | ngie <ngie@FreeBSD.org> | 2017-02-09 22:57:56 +0000 |
commit | 9c6235cf2af8bdadcd0f0a80288683f0c88f3e55 (patch) | |
tree | adfbe5cb3078cb2225bffe5945cec00b4e27fd99 /contrib/netbsd-tests/lib/libc | |
parent | 6b3722162f25f17568ac341320ee8e7ede42bc7e (diff) | |
download | FreeBSD-src-9c6235cf2af8bdadcd0f0a80288683f0c88f3e55.zip FreeBSD-src-9c6235cf2af8bdadcd0f0a80288683f0c88f3e55.tar.gz |
MFC r296586:
r296586 (by bdrewery):
Fix and connect setjmp test.
Diffstat (limited to 'contrib/netbsd-tests/lib/libc')
-rw-r--r-- | contrib/netbsd-tests/lib/libc/setjmp/t_setjmp.c | 2 | ||||
-rw-r--r-- | contrib/netbsd-tests/lib/libc/setjmp/t_threadjmp.c | 2 |
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"); |