NetBSD-Bugs archive

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

Re: bin/51852: [PATCH] tests/lib/libc/sys/t_getrusage: mark signo __unused



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

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

 --Apple-Mail=_CE0702E7-C8B7-4E40-8AD7-DD8D77FC2F9B
 Content-Transfer-Encoding: 7bit
 Content-Type: text/plain;
 	charset=us-ascii
 
 Patch attached.
 -Ngie
 
 --Apple-Mail=_CE0702E7-C8B7-4E40-8AD7-DD8D77FC2F9B
 Content-Disposition: attachment;
 	filename=t_getrusage-mark-signo-unused.patch
 Content-Type: application/octet-stream;
 	x-unix-mode=0644;
 	name="t_getrusage-mark-signo-unused.patch"
 Content-Transfer-Encoding: 7bit
 
 Index: lib/libc/sys/t_getrusage.c
 ===================================================================
 RCS file: /cvsroot/src/tests/lib/libc/sys/t_getrusage.c,v
 retrieving revision 1.4
 diff -u -r1.4 t_getrusage.c
 --- lib/libc/sys/t_getrusage.c	5 Aug 2016 15:01:39 -0000	1.4
 +++ lib/libc/sys/t_getrusage.c	13 Jan 2017 06:03:46 -0000
 @@ -47,7 +47,7 @@
  static const size_t	maxiter = 2000;
  
  static void
 -sighandler(int signo)
 +sighandler(int signo __unused)
  {
  	/* Nothing. */
  }
 
 --Apple-Mail=_CE0702E7-C8B7-4E40-8AD7-DD8D77FC2F9B--
 


Home | Main Index | Thread Index | Old Index