NetBSD-Bugs archive

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

Re: bin/51892: [PATCH] tests/lib/libc/sys/t_timer_create: add __unused to `osi` in the sigaction handler



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

From: "Ngie Cooper (yaneurabeya)" <yaneurabeya%gmail.com@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: bin/51892: [PATCH] tests/lib/libc/sys/t_timer_create: add
 __unused to `osi` in the sigaction handler
Date: Sun, 15 Jan 2017 13:26:04 -0800

 --Apple-Mail=_834176DD-048F-4F68-93D3-EA0E9D34667D
 Content-Transfer-Encoding: 7bit
 Content-Type: text/plain;
 	charset=us-ascii
 
 Patch attached.
 -Ngie
 
 --Apple-Mail=_834176DD-048F-4F68-93D3-EA0E9D34667D
 Content-Disposition: attachment;
 	filename=t_timer_create-mark-osi-__unused.patch
 Content-Type: application/octet-stream;
 	x-unix-mode=0644;
 	name="t_timer_create-mark-osi-__unused.patch"
 Content-Transfer-Encoding: 7bit
 
 Index: lib/libc/sys/t_timer_create.c
 ===================================================================
 RCS file: /cvsroot/src/tests/lib/libc/sys/t_timer_create.c,v
 retrieving revision 1.4
 diff -u -r1.4 t_timer_create.c
 --- lib/libc/sys/t_timer_create.c	18 Mar 2012 07:00:52 -0000	1.4
 +++ lib/libc/sys/t_timer_create.c	15 Jan 2017 21:22:14 -0000
 @@ -38,7 +38,7 @@
  static bool fail = true;
  
  static void
 -timer_signal_handler(int signo, siginfo_t *si, void *osi)
 +timer_signal_handler(int signo, siginfo_t *si, void *osi __unused)
  {
  	timer_t *tp;
  
 
 --Apple-Mail=_834176DD-048F-4F68-93D3-EA0E9D34667D--
 


Home | Main Index | Thread Index | Old Index