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/51852: Ngie Cooper: mark signo __unused



details:   https://anonhg.NetBSD.org/src/rev/109a9c17a897
branches:  trunk
changeset: 350558:109a9c17a897
user:      christos <christos%NetBSD.org@localhost>
date:      Fri Jan 13 20:31:06 2017 +0000

description:
PR/51852: Ngie Cooper: mark signo __unused

diffstat:

 tests/lib/libc/sys/t_getrusage.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r a7511292378b -r 109a9c17a897 tests/lib/libc/sys/t_getrusage.c
--- a/tests/lib/libc/sys/t_getrusage.c  Fri Jan 13 20:24:37 2017 +0000
+++ b/tests/lib/libc/sys/t_getrusage.c  Fri Jan 13 20:31:06 2017 +0000
@@ -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,7 +47,7 @@
 static const size_t    maxiter = 2000;
 
 static void
-sighandler(int signo)
+sighandler(int signo __unused)
 {
        /* Nothing. */
 }



Home | Main Index | Thread Index | Old Index