Browse Source

convert two more static ints used as flags to smallints

Denis Vlasenko 17 years ago
parent
commit
e7d80fac04

+ 1 - 1
libc/inet/netlinkaccess.h

@@ -63,7 +63,7 @@ struct netlink_handle
 
 
 #if 0 /* unused code */
 #if 0 /* unused code */
 #if __ASSUME_NETLINK_SUPPORT == 0
 #if __ASSUME_NETLINK_SUPPORT == 0
-extern int __no_netlink_support attribute_hidden;
+extern smallint __no_netlink_support attribute_hidden;
 #else
 #else
 # define __no_netlink_support 0
 # define __no_netlink_support 0
 #endif
 #endif

+ 1 - 1
libpthread/linuxthreads/sysdeps/unix/sysv/linux/mq_notify.c

@@ -196,7 +196,7 @@ init_mq_netlink (void)
 
 
       if (err == 0)
       if (err == 0)
 	{
 	{
-	  static int added_atfork;
+	  static smallint added_atfork;
 
 
 	  if (added_atfork == 0
 	  if (added_atfork == 0
 	      && pthread_atfork (NULL, NULL, reset_once) != 0)
 	      && pthread_atfork (NULL, NULL, reset_once) != 0)