Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Oct 2014 08:13:07 +0000 (UTC)
From:      Garrett Cooper <ngie@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r273539 - head/contrib/netbsd-tests/lib/libc/sys
Message-ID:  <201410230813.s9N8D7RV091713@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ngie
Date: Thu Oct 23 08:13:07 2014
New Revision: 273539
URL: https://svnweb.freebsd.org/changeset/base/273539

Log:
  Mark signum __unused
  
  Sponsored by: EMC / Isilon Storage Division

Modified:
  head/contrib/netbsd-tests/lib/libc/sys/t_select.c

Modified: head/contrib/netbsd-tests/lib/libc/sys/t_select.c
==============================================================================
--- head/contrib/netbsd-tests/lib/libc/sys/t_select.c	Thu Oct 23 08:12:31 2014	(r273538)
+++ head/contrib/netbsd-tests/lib/libc/sys/t_select.c	Thu Oct 23 08:13:07 2014	(r273539)
@@ -47,13 +47,21 @@
 static sig_atomic_t keep_going = 1;
 
 static void
+#ifdef __FreeBSD__
+sig_handler(int signum __unused)
+#else
 sig_handler(int signum)
+#endif
 {
 	keep_going = 0;
 }
 
 static void
+#ifdef __FreeBSD__
+sigchld(int signum __unused)
+#else
 sigchld(int signum)
+#endif
 {
 }
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201410230813.s9N8D7RV091713>