diff options
author | Bryan Drewery <bdrewery@FreeBSD.org> | 2016-03-09 22:45:04 +0000 |
---|---|---|
committer | Bryan Drewery <bdrewery@FreeBSD.org> | 2016-03-09 22:45:04 +0000 |
commit | 30924962f44b40ed3506b32bc90232f9a4a4c2a1 (patch) | |
tree | 608ecd9e95aa7157d1e7fc24e014186622fe6797 /contrib/netbsd-tests/lib/libc/setjmp | |
parent | 17e75d1cd2654aaaeee52788cb3a4c3aa80f883f (diff) | |
download | src-test2-30924962f44b40ed3506b32bc90232f9a4a4c2a1.tar.gz src-test2-30924962f44b40ed3506b32bc90232f9a4a4c2a1.zip |
Notes
Diffstat (limited to 'contrib/netbsd-tests/lib/libc/setjmp')
-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 4d2a93bab004..34fd5cca9581 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 4437c927214e..2014470747a8 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"); |