Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/tests/lib/libc/sys PR/51848: Ngie Cooper: tests/lib/libc/sys...



details:   https://anonhg.NetBSD.org/src/rev/e58f5f9ea688
branches:  trunk
changeset: 350554:e58f5f9ea688
user:      christos <christos%NetBSD.org@localhost>
date:      Fri Jan 13 20:08:38 2017 +0000

description:
PR/51848: Ngie Cooper: tests/lib/libc/sys/t_sigaction: mark variables __unused
XXX: h_macros.h needs to be fixed differently.

diffstat:

 tests/lib/libc/sys/t_sigaction.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (36 lines):

diff -r edd52b913058 -r e58f5f9ea688 tests/lib/libc/sys/t_sigaction.c
--- a/tests/lib/libc/sys/t_sigaction.c  Fri Jan 13 20:06:50 2017 +0000
+++ b/tests/lib/libc/sys/t_sigaction.c  Fri Jan 13 20:08:38 2017 +0000
@@ -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 @@
 static bool handler_called = false;
 
 static void
-handler(int signo)
+handler(int signo __unused)
 {
     handler_called = true;
 }
@@ -79,7 +79,7 @@
 }
 
 static void
-catch(int sig)
+catch(int sig __unused)
 {
        return;
 }



Home | Main Index | Thread Index | Old Index