Module Name:    src
Committed By:   christos
Date:           Fri Jan 13 21:15:14 UTC 2017

Modified Files:
        src/tests/lib/libc/sys: t_nanosleep.c

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


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/tests/lib/libc/sys/t_nanosleep.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_nanosleep.c
diff -u src/tests/lib/libc/sys/t_nanosleep.c:1.3 src/tests/lib/libc/sys/t_nanosleep.c:1.4
--- src/tests/lib/libc/sys/t_nanosleep.c:1.3	Sun Mar 31 12:47:16 2013
+++ src/tests/lib/libc/sys/t_nanosleep.c	Fri Jan 13 16:15:14 2017
@@ -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 @@ __RCSID("$NetBSD: t_nanosleep.c,v 1.3 20
 #include <unistd.h>
 
 static void
-handler(int signo)
+handler(int signo __unused)
 {
 	/* Nothing. */
 }

Reply via email to