summaryrefslogtreecommitdiff
path: root/contrib/netbsd-tests/lib/libc/sys/t_getrusage.c
diff options
context:
space:
mode:
authorEnji Cooper <ngie@FreeBSD.org>2017-01-14 06:49:17 +0000
committerEnji Cooper <ngie@FreeBSD.org>2017-01-14 06:49:17 +0000
commit63d1fd5970ec814904aa0f4580b10a0d302d08b2 (patch)
tree5f0c7c782c83b41c6850995c0c8a4033eb5dd0f5 /contrib/netbsd-tests/lib/libc/sys/t_getrusage.c
parented2159c92c0214d224e13d4452e576a92d29911e (diff)
parenta567518138e0e2fa7177c60e241e8b8e4bb468d5 (diff)
Notes
Diffstat (limited to 'contrib/netbsd-tests/lib/libc/sys/t_getrusage.c')
-rw-r--r--contrib/netbsd-tests/lib/libc/sys/t_getrusage.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/contrib/netbsd-tests/lib/libc/sys/t_getrusage.c b/contrib/netbsd-tests/lib/libc/sys/t_getrusage.c
index f4ee96b057f23..273fd836a9529 100644
--- a/contrib/netbsd-tests/lib/libc/sys/t_getrusage.c
+++ b/contrib/netbsd-tests/lib/libc/sys/t_getrusage.c
@@ -1,4 +1,4 @@
-/* $NetBSD: t_getrusage.c,v 1.4 2016/08/05 15:01:39 scole Exp $ */
+/* $NetBSD: t_getrusage.c,v 1.5 2017/01/13 20:31:06 christos Exp $ */
/*-
* Copyright (c) 2011 The NetBSD Foundation, Inc.
@@ -29,7 +29,7 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
#include <sys/cdefs.h>
-__RCSID("$NetBSD: t_getrusage.c,v 1.4 2016/08/05 15:01:39 scole Exp $");
+__RCSID("$NetBSD: t_getrusage.c,v 1.5 2017/01/13 20:31:06 christos Exp $");
#include <sys/resource.h>
#include <sys/time.h>
@@ -47,11 +47,7 @@ static void sighandler(int);
static const size_t maxiter = 2000;
static void
-#ifdef __FreeBSD__
sighandler(int signo __unused)
-#else
-sighandler(int signo)
-#endif
{
/* Nothing. */
}