Module Name: src
Committed By: christos
Date: Fri Jan 13 20:08:38 UTC 2017
Modified Files:
src/tests/lib/libc/sys: t_sigaction.c
Log Message:
PR/51848: Ngie Cooper: tests/lib/libc/sys/t_sigaction: mark variables __unused
XXX: h_macros.h needs to be fixed differently.
To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/tests/lib/libc/sys/t_sigaction.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/tests/lib/libc/sys/t_sigaction.c
diff -u src/tests/lib/libc/sys/t_sigaction.c:1.3 src/tests/lib/libc/sys/t_sigaction.c:1.4
--- src/tests/lib/libc/sys/t_sigaction.c:1.3 Mon Nov 3 19:20:19 2014
+++ src/tests/lib/libc/sys/t_sigaction.c Fri Jan 13 15:08:38 2017
@@ -1,4 +1,4 @@
-/* $NetBSD: t_sigaction.c,v 1.3 2014/11/04 00:20:19 justin Exp $ */
+/* $NetBSD: t_sigaction.c,v 1.4 2017/01/13 20:08:38 christos Exp $ */
/*-
* Copyright (c) 2010 The NetBSD Foundation, Inc.
@@ -29,7 +29,7 @@
#include <sys/cdefs.h>
__COPYRIGHT("@(#) Copyright (c) 2010\
The NetBSD Foundation, inc. All rights reserved.");
-__RCSID("$NetBSD: t_sigaction.c,v 1.3 2014/11/04 00:20:19 justin Exp $");
+__RCSID("$NetBSD: t_sigaction.c,v 1.4 2017/01/13 20:08:38 christos Exp $");
#include <sys/wait.h>
@@ -46,7 +46,7 @@ __RCSID("$NetBSD: t_sigaction.c,v 1.3 20
static bool handler_called = false;
static void
-handler(int signo)
+handler(int signo __unused)
{
handler_called = true;
}
@@ -79,7 +79,7 @@ wait_and_check_child(const pid_t pid, co
}
static void
-catch(int sig)
+catch(int sig __unused)
{
return;
}