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/51857: Ngie Cooper: mark signo __unuse...



details:   https://anonhg.NetBSD.org/src/rev/187bcb91cdf6
branches:  trunk
changeset: 350570:187bcb91cdf6
user:      christos <christos%NetBSD.org@localhost>
date:      Fri Jan 13 21:15:14 2017 +0000

description:
PR/51857: Ngie Cooper: mark signo __unused for -Wunused

diffstat:

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

diffs (27 lines):

diff -r b809cc80a1e1 -r 187bcb91cdf6 tests/lib/libc/sys/t_nanosleep.c
--- a/tests/lib/libc/sys/t_nanosleep.c  Fri Jan 13 21:09:12 2017 +0000
+++ b/tests/lib/libc/sys/t_nanosleep.c  Fri Jan 13 21:15:14 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: t_nanosleep.c,v 1.3 2013/03/31 16:47:16 christos Exp $ */
+/* $NetBSD: t_nanosleep.c,v 1.4 2017/01/13 21:15:14 christos Exp $ */
 
 /*-
  * Copyright (c) 2011 The NetBSD Foundation, Inc.
@@ -29,7 +29,7 @@
  * POSSIBILITY OF SUCH DAMAGE.
  */
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: t_nanosleep.c,v 1.3 2013/03/31 16:47:16 christos Exp $");
+__RCSID("$NetBSD: t_nanosleep.c,v 1.4 2017/01/13 21:15:14 christos Exp $");
 
 #include <sys/time.h>
 #include <sys/wait.h>
@@ -45,7 +45,7 @@
 #include <unistd.h>
 
 static void
-handler(int signo)
+handler(int signo __unused)
 {
        /* Nothing. */
 }



Home | Main Index | Thread Index | Old Index