From 1d7049aa86f21ebf3e8ec55f9a736d725c243a68 Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Fri, 30 May 2008 13:42:54 +0000 Subject: - Avoid warning about undefined preprocessor token. No obj-code changes. --- libc/inet/addr.c | 2 +- libc/inet/ether_addr.c | 2 +- libc/inet/inet_net.c | 2 +- libc/inet/rpc/rcmd.c | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'libc/inet') diff --git a/libc/inet/addr.c b/libc/inet/addr.c index c4d1b98d5..abee083da 100644 --- a/libc/inet/addr.c +++ b/libc/inet/addr.c @@ -45,7 +45,7 @@ */ #ifdef __UCLIBC_HAS_XLOCALE__ libc_hidden_proto(__ctype_b_loc) -#elif __UCLIBC_HAS_CTYPE_TABLES__ +#elif defined __UCLIBC_HAS_CTYPE_TABLES__ libc_hidden_proto(__ctype_b) #endif libc_hidden_proto(inet_aton) diff --git a/libc/inet/ether_addr.c b/libc/inet/ether_addr.c index e896e707d..bcea9ba46 100644 --- a/libc/inet/ether_addr.c +++ b/libc/inet/ether_addr.c @@ -37,7 +37,7 @@ libc_hidden_proto(sprintf) #ifdef __UCLIBC_HAS_XLOCALE__ libc_hidden_proto(__ctype_b_loc) libc_hidden_proto(__ctype_tolower_loc) -#elif __UCLIBC_HAS_CTYPE_TABLES__ +#elif defined __UCLIBC_HAS_CTYPE_TABLES__ libc_hidden_proto(__ctype_b) libc_hidden_proto(__ctype_tolower) #endif diff --git a/libc/inet/inet_net.c b/libc/inet/inet_net.c index 51edcf212..e46c9a561 100644 --- a/libc/inet/inet_net.c +++ b/libc/inet/inet_net.c @@ -40,7 +40,7 @@ #ifdef __UCLIBC_HAS_XLOCALE__ libc_hidden_proto(__ctype_b_loc) -#elif __UCLIBC_HAS_CTYPE_TABLES__ +#elif defined __UCLIBC_HAS_CTYPE_TABLES__ libc_hidden_proto(__ctype_b) #endif diff --git a/libc/inet/rpc/rcmd.c b/libc/inet/rpc/rcmd.c index 6a9b437bf..fe00d6a78 100644 --- a/libc/inet/rpc/rcmd.c +++ b/libc/inet/rpc/rcmd.c @@ -134,7 +134,7 @@ libc_hidden_proto(__h_errno_location) #ifdef __UCLIBC_HAS_XLOCALE__ libc_hidden_proto(__ctype_b_loc) libc_hidden_proto(__ctype_tolower_loc) -#elif __UCLIBC_HAS_CTYPE_TABLES__ +#elif defined __UCLIBC_HAS_CTYPE_TABLES__ libc_hidden_proto(__ctype_b) libc_hidden_proto(__ctype_tolower) #endif -- cgit v1.2.3