NetBSD-Bugs archive

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

Re: bin/51857: [PATCH] tests/lib/libc/sys/t_nanosleep: mark signo __unused for -Wunused



The following reply was made to PR bin/51857; it has been noted by GNATS.

From: "Ngie Cooper (yaneurabeya)" <yaneurabeya%gmail.com@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: bin/51857: [PATCH] tests/lib/libc/sys/t_nanosleep: mark signo
 __unused for -Wunused
Date: Thu, 12 Jan 2017 23:03:51 -0800

 --Apple-Mail=_8B991137-6ACD-4591-A2B8-0100709007F1
 Content-Disposition: attachment;
 	filename=t_nanosleep-mark-signo-__unused.patch
 Content-Type: application/octet-stream;
 	x-unix-mode=0644;
 	name="t_nanosleep-mark-signo-__unused.patch"
 Content-Transfer-Encoding: 7bit
 
 Index: lib/libc/sys/t_nanosleep.c
 ===================================================================
 RCS file: /cvsroot/src/tests/lib/libc/sys/t_nanosleep.c,v
 retrieving revision 1.3
 diff -u -r1.3 t_nanosleep.c
 --- lib/libc/sys/t_nanosleep.c	31 Mar 2013 16:47:16 -0000	1.3
 +++ lib/libc/sys/t_nanosleep.c	13 Jan 2017 06:50:48 -0000
 @@ -45,7 +45,7 @@
  #include <unistd.h>
  
  static void
 -handler(int signo)
 +handler(int signo __unused)
  {
  	/* Nothing. */
  }
 
 --Apple-Mail=_8B991137-6ACD-4591-A2B8-0100709007F1--
 


Home | Main Index | Thread Index | Old Index