svn commit: trunk/uClibc: libc/inet libpthread/linuxthreads/sysdep etc...

vda at uclibc.org vda at uclibc.org
Thu May 22 02:22:29 UTC 2008


Author: vda
Date: 2008-05-21 19:22:28 -0700 (Wed, 21 May 2008)
New Revision: 22045

Log:
convert two more static ints used as flags to smallints



Modified:
   trunk/uClibc/libc/inet/netlinkaccess.h
   trunk/uClibc/libpthread/linuxthreads/sysdeps/unix/sysv/linux/mq_notify.c


Changeset:
Modified: trunk/uClibc/libc/inet/netlinkaccess.h
===================================================================
--- trunk/uClibc/libc/inet/netlinkaccess.h	2008-05-22 02:10:50 UTC (rev 22044)
+++ trunk/uClibc/libc/inet/netlinkaccess.h	2008-05-22 02:22:28 UTC (rev 22045)
@@ -63,7 +63,7 @@
 
 #if 0 /* unused code */
 #if __ASSUME_NETLINK_SUPPORT == 0
-extern int __no_netlink_support attribute_hidden;
+extern smallint __no_netlink_support attribute_hidden;
 #else
 # define __no_netlink_support 0
 #endif

Modified: trunk/uClibc/libpthread/linuxthreads/sysdeps/unix/sysv/linux/mq_notify.c
===================================================================
--- trunk/uClibc/libpthread/linuxthreads/sysdeps/unix/sysv/linux/mq_notify.c	2008-05-22 02:10:50 UTC (rev 22044)
+++ trunk/uClibc/libpthread/linuxthreads/sysdeps/unix/sysv/linux/mq_notify.c	2008-05-22 02:22:28 UTC (rev 22045)
@@ -196,7 +196,7 @@
 
       if (err == 0)
 	{
-	  static int added_atfork;
+	  static smallint added_atfork;
 
 	  if (added_atfork == 0
 	      && pthread_atfork (NULL, NULL, reset_once) != 0)




More information about the uClibc-cvs mailing list