[Glibc-bsd-commits] r5800 - trunk/glibc-ports/kfreebsd/fbtl

aurel32 at alioth.debian.org aurel32 at alioth.debian.org
Tue Oct 20 15:03:17 UTC 2015


Author: aurel32
Date: 2015-10-20 15:03:17 +0000 (Tue, 20 Oct 2015)
New Revision: 5800

Modified:
   trunk/glibc-ports/kfreebsd/fbtl/pthread_sigmask.c
   trunk/glibc-ports/kfreebsd/fbtl/sigprocmask.c
Log:
kill warnings


Modified: trunk/glibc-ports/kfreebsd/fbtl/pthread_sigmask.c
===================================================================
--- trunk/glibc-ports/kfreebsd/fbtl/pthread_sigmask.c	2015-10-20 14:52:02 UTC (rev 5799)
+++ trunk/glibc-ports/kfreebsd/fbtl/pthread_sigmask.c	2015-10-20 15:03:17 UTC (rev 5800)
@@ -16,5 +16,5 @@
    License along with the GNU C Library; if not, see
    <http://www.gnu.org/licenses/>.  */
 
-#define BUILD_AS_pthread_sigmask 1
+#define BUILD_AS_pthread_sigmask
 #include "sigprocmask.c"

Modified: trunk/glibc-ports/kfreebsd/fbtl/sigprocmask.c
===================================================================
--- trunk/glibc-ports/kfreebsd/fbtl/sigprocmask.c	2015-10-20 14:52:02 UTC (rev 5799)
+++ trunk/glibc-ports/kfreebsd/fbtl/sigprocmask.c	2015-10-20 15:03:17 UTC (rev 5800)
@@ -28,7 +28,7 @@
 
 /* Get and/or change the set of blocked signals.  */
 int
-#if BUILD_AS_pthread_sigmask
+#ifdef BUILD_AS_pthread_sigmask
 pthread_sigmask(how, set, oset)
 #else
 __sigprocmask (how, set, oset)
@@ -54,7 +54,7 @@
     }
 
   rv = INLINE_SYSCALL (sigprocmask, 3, how, set, oset);
-#if BUILD_AS_pthread_sigmask
+#ifdef BUILD_AS_pthread_sigmask
   return rv;
 }  
 #else




More information about the Glibc-bsd-commits mailing list