diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2008-05-22 02:22:28 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2008-05-22 02:22:28 +0000 |
commit | e7d80fac04a9fc6aa0f0bc3a09f85de131f603fe (patch) | |
tree | 3da26386163b68a1f3fb1f5f75b8fcfe2369494d | |
parent | cd87a6218bca11cc57912187136479f986039224 (diff) |
convert two more static ints used as flags to smallints
-rw-r--r-- | libc/inet/netlinkaccess.h | 2 | ||||
-rw-r--r-- | libpthread/linuxthreads/sysdeps/unix/sysv/linux/mq_notify.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/libc/inet/netlinkaccess.h b/libc/inet/netlinkaccess.h index 417d83a7b..f2a3ac0f8 100644 --- a/libc/inet/netlinkaccess.h +++ b/libc/inet/netlinkaccess.h @@ -63,7 +63,7 @@ struct netlink_handle #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 diff --git a/libpthread/linuxthreads/sysdeps/unix/sysv/linux/mq_notify.c b/libpthread/linuxthreads/sysdeps/unix/sysv/linux/mq_notify.c index eace94c86..6cd0f09c1 100644 --- a/libpthread/linuxthreads/sysdeps/unix/sysv/linux/mq_notify.c +++ b/libpthread/linuxthreads/sysdeps/unix/sysv/linux/mq_notify.c @@ -196,7 +196,7 @@ init_mq_netlink (void) if (err == 0) { - static int added_atfork; + static smallint added_atfork; if (added_atfork == 0 && pthread_atfork (NULL, NULL, reset_once) != 0) |