Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Oct 2014 07:11:59 +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: r273528 - head/contrib/netbsd-tests/lib/libc/sys
Message-ID:  <201410230711.s9N7Bx1r062865@svn.freebsd.org>

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

Log:
  Mark signo __unused in handler(..)
  
  Sponsored by: EMC / Isilon Storage Division

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

Modified: head/contrib/netbsd-tests/lib/libc/sys/t_nanosleep.c
==============================================================================
--- head/contrib/netbsd-tests/lib/libc/sys/t_nanosleep.c	Thu Oct 23 07:07:35 2014	(r273527)
+++ head/contrib/netbsd-tests/lib/libc/sys/t_nanosleep.c	Thu Oct 23 07:11:58 2014	(r273528)
@@ -45,7 +45,11 @@ __RCSID("$NetBSD: t_nanosleep.c,v 1.3 20
 #include <unistd.h>
 
 static void
+#if defined(__FreeBSD__)
+handler(int signo __unused)
+#else
 handler(int signo)
+#endif
 {
 	/* Nothing. */
 }



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