summaryrefslogtreecommitdiff
path: root/libc/inet
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2008-11-18 01:10:26 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2008-11-18 01:10:26 +0000
commit933df87e4e9a8d7f6901dd0417b0006c5b132439 (patch)
treeb5ef20e5b2c3d151fd4de60d4e27ebedc00c82d0 /libc/inet
parente8c6de1939e1f8a2898a0e53134fa175560b9469 (diff)
libc_hidden_proto removal, a few more functions
Diffstat (limited to 'libc/inet')
-rw-r--r--libc/inet/addr.c4
-rw-r--r--libc/inet/ether_addr.c8
-rw-r--r--libc/inet/getnetent.c2
-rw-r--r--libc/inet/getproto.c2
-rw-r--r--libc/inet/getservice.c2
-rw-r--r--libc/inet/herror.c2
-rw-r--r--libc/inet/ifaddrs.c2
-rw-r--r--libc/inet/inet_net.c4
-rw-r--r--libc/inet/resolv.c8
-rw-r--r--libc/inet/rpc/getrpcent.c2
-rw-r--r--libc/inet/rpc/pmap_rmt.c2
-rw-r--r--libc/inet/rpc/rcmd.c12
-rw-r--r--libc/inet/rpc/ruserpass.c2
-rw-r--r--libc/inet/rpc/svc_tcp.c2
-rw-r--r--libc/inet/rpc/svc_udp.c2
15 files changed, 28 insertions, 28 deletions
diff --git a/libc/inet/addr.c b/libc/inet/addr.c
index 2a0bb84a8..ad9539e82 100644
--- a/libc/inet/addr.c
+++ b/libc/inet/addr.c
@@ -44,9 +44,9 @@
* all else -> decimal
*/
#ifdef __UCLIBC_HAS_XLOCALE__
-libc_hidden_proto(__ctype_b_loc)
+/* libc_hidden_proto(__ctype_b_loc) */
#elif defined __UCLIBC_HAS_CTYPE_TABLES__
-libc_hidden_proto(__ctype_b)
+/* libc_hidden_proto(__ctype_b) */
#endif
libc_hidden_proto(inet_aton)
int inet_aton(const char *cp, struct in_addr *addrptr)
diff --git a/libc/inet/ether_addr.c b/libc/inet/ether_addr.c
index 8e19a0f09..914b77c69 100644
--- a/libc/inet/ether_addr.c
+++ b/libc/inet/ether_addr.c
@@ -34,11 +34,11 @@
libc_hidden_proto(ether_ntoa_r)
libc_hidden_proto(sprintf)
#ifdef __UCLIBC_HAS_XLOCALE__
-libc_hidden_proto(__ctype_b_loc)
-libc_hidden_proto(__ctype_tolower_loc)
+/* libc_hidden_proto(__ctype_b_loc) */
+/* libc_hidden_proto(__ctype_tolower_loc) */
#elif defined __UCLIBC_HAS_CTYPE_TABLES__
-libc_hidden_proto(__ctype_b)
-libc_hidden_proto(__ctype_tolower)
+/* libc_hidden_proto(__ctype_b) */
+/* libc_hidden_proto(__ctype_tolower) */
#endif
struct ether_addr *ether_aton_r(const char *asc, struct ether_addr *addr)
diff --git a/libc/inet/getnetent.c b/libc/inet/getnetent.c
index 5e9a075e6..5a6af1b5a 100644
--- a/libc/inet/getnetent.c
+++ b/libc/inet/getnetent.c
@@ -24,7 +24,7 @@
#include <unistd.h>
libc_hidden_proto(fopen)
-libc_hidden_proto(fclose)
+/* libc_hidden_proto(fclose) */
libc_hidden_proto(inet_network)
libc_hidden_proto(rewind)
libc_hidden_proto(fgets)
diff --git a/libc/inet/getproto.c b/libc/inet/getproto.c
index f24d03f0d..5b34d6de6 100644
--- a/libc/inet/getproto.c
+++ b/libc/inet/getproto.c
@@ -68,7 +68,7 @@ libc_hidden_proto(fopen)
libc_hidden_proto(atoi)
libc_hidden_proto(rewind)
libc_hidden_proto(fgets)
-libc_hidden_proto(fclose)
+/* libc_hidden_proto(fclose) */
/* libc_hidden_proto(abort) */
#include <bits/uClibc_mutex.h>
diff --git a/libc/inet/getservice.c b/libc/inet/getservice.c
index 9912fa1df..affdc622f 100644
--- a/libc/inet/getservice.c
+++ b/libc/inet/getservice.c
@@ -67,7 +67,7 @@
/* Experimentally off - libc_hidden_proto(strcmp) */
/* Experimentally off - libc_hidden_proto(strpbrk) */
libc_hidden_proto(fopen)
-libc_hidden_proto(fclose)
+/* libc_hidden_proto(fclose) */
libc_hidden_proto(atoi)
libc_hidden_proto(rewind)
libc_hidden_proto(fgets)
diff --git a/libc/inet/herror.c b/libc/inet/herror.c
index b46578388..2c671e9e2 100644
--- a/libc/inet/herror.c
+++ b/libc/inet/herror.c
@@ -23,7 +23,7 @@
#include <string.h>
#include <netdb.h>
-libc_hidden_proto(fprintf)
+/* libc_hidden_proto(fprintf) */
libc_hidden_proto(__h_errno_location)
static const char error_msg[] = "Resolver error";
diff --git a/libc/inet/ifaddrs.c b/libc/inet/ifaddrs.c
index 7e65f8bc2..c5467fcca 100644
--- a/libc/inet/ifaddrs.c
+++ b/libc/inet/ifaddrs.c
@@ -48,7 +48,7 @@ libc_hidden_proto(bind)
/* Experimentally off - libc_hidden_proto(memset) */
/* Experimentally off - libc_hidden_proto(mempcpy) */
libc_hidden_proto(getsockname)
-libc_hidden_proto(fclose)
+/* libc_hidden_proto(fclose) */
/* libc_hidden_proto(abort) */
#ifndef __libc_use_alloca
diff --git a/libc/inet/inet_net.c b/libc/inet/inet_net.c
index e46c9a561..93457e7ae 100644
--- a/libc/inet/inet_net.c
+++ b/libc/inet/inet_net.c
@@ -39,9 +39,9 @@
#include <arpa/inet.h>
#ifdef __UCLIBC_HAS_XLOCALE__
-libc_hidden_proto(__ctype_b_loc)
+/* libc_hidden_proto(__ctype_b_loc) */
#elif defined __UCLIBC_HAS_CTYPE_TABLES__
-libc_hidden_proto(__ctype_b)
+/* libc_hidden_proto(__ctype_b) */
#endif
/*
diff --git a/libc/inet/resolv.c b/libc/inet/resolv.c
index 793b4a756..c81249f02 100644
--- a/libc/inet/resolv.c
+++ b/libc/inet/resolv.c
@@ -180,7 +180,7 @@
libc_hidden_proto(socket)
/* libc_hidden_proto(close) */
libc_hidden_proto(fopen)
-libc_hidden_proto(fclose)
+/* libc_hidden_proto(fclose) */
libc_hidden_proto(random)
libc_hidden_proto(getservbyport)
libc_hidden_proto(gethostname)
@@ -211,12 +211,12 @@ libc_hidden_proto(res_init)
libc_hidden_proto(res_query)
libc_hidden_proto(res_querydomain)
libc_hidden_proto(gethostent_r)
-libc_hidden_proto(fprintf)
+/* libc_hidden_proto(fprintf) */
libc_hidden_proto(__h_errno_location)
#ifdef __UCLIBC_HAS_XLOCALE__
-libc_hidden_proto(__ctype_b_loc)
+/* libc_hidden_proto(__ctype_b_loc) */
#elif defined __UCLIBC_HAS_CTYPE_TABLES__
-libc_hidden_proto(__ctype_b)
+/* libc_hidden_proto(__ctype_b) */
#endif
int __libc_getdomainname(char *name, size_t len);
libc_hidden_proto(__libc_getdomainname)
diff --git a/libc/inet/rpc/getrpcent.c b/libc/inet/rpc/getrpcent.c
index 186bd130f..fbf44bec2 100644
--- a/libc/inet/rpc/getrpcent.c
+++ b/libc/inet/rpc/getrpcent.c
@@ -50,7 +50,7 @@
/* Experimentally off - libc_hidden_proto(strcmp) */
/* Experimentally off - libc_hidden_proto(strlen) */
libc_hidden_proto(fopen)
-libc_hidden_proto(fclose)
+/* libc_hidden_proto(fclose) */
libc_hidden_proto(atoi)
libc_hidden_proto(rewind)
libc_hidden_proto(fgets)
diff --git a/libc/inet/rpc/pmap_rmt.c b/libc/inet/rpc/pmap_rmt.c
index 349cf8b03..0701d8ef4 100644
--- a/libc/inet/rpc/pmap_rmt.c
+++ b/libc/inet/rpc/pmap_rmt.c
@@ -80,7 +80,7 @@ libc_hidden_proto(setsockopt)
libc_hidden_proto(recvfrom)
libc_hidden_proto(sendto)
libc_hidden_proto(poll)
-libc_hidden_proto(fprintf)
+/* libc_hidden_proto(fprintf) */
extern u_long _create_xid (void) attribute_hidden;
diff --git a/libc/inet/rpc/rcmd.c b/libc/inet/rpc/rcmd.c
index d10f015fd..9636f99e6 100644
--- a/libc/inet/rpc/rcmd.c
+++ b/libc/inet/rpc/rcmd.c
@@ -128,15 +128,15 @@ libc_hidden_proto(sigsetmask)
libc_hidden_proto(getc_unlocked)
libc_hidden_proto(__fgetc_unlocked)
libc_hidden_proto(fopen)
-libc_hidden_proto(fclose)
-libc_hidden_proto(fprintf)
+/* libc_hidden_proto(fclose) */
+/* libc_hidden_proto(fprintf) */
libc_hidden_proto(__h_errno_location)
#ifdef __UCLIBC_HAS_XLOCALE__
-libc_hidden_proto(__ctype_b_loc)
-libc_hidden_proto(__ctype_tolower_loc)
+/* libc_hidden_proto(__ctype_b_loc) */
+/* libc_hidden_proto(__ctype_tolower_loc) */
#elif defined __UCLIBC_HAS_CTYPE_TABLES__
-libc_hidden_proto(__ctype_b)
-libc_hidden_proto(__ctype_tolower)
+/* libc_hidden_proto(__ctype_b) */
+/* libc_hidden_proto(__ctype_tolower) */
#endif
libc_hidden_proto(rresvport)
diff --git a/libc/inet/rpc/ruserpass.c b/libc/inet/rpc/ruserpass.c
index ad6e703c4..47226c55f 100644
--- a/libc/inet/rpc/ruserpass.c
+++ b/libc/inet/rpc/ruserpass.c
@@ -60,7 +60,7 @@ libc_hidden_proto(geteuid)
libc_hidden_proto(gethostname)
libc_hidden_proto(fileno)
libc_hidden_proto(fopen)
-libc_hidden_proto(fclose)
+/* libc_hidden_proto(fclose) */
libc_hidden_proto(getc_unlocked)
libc_hidden_proto(__fgetc_unlocked)
diff --git a/libc/inet/rpc/svc_tcp.c b/libc/inet/rpc/svc_tcp.c
index 598b0fc72..51b3b764b 100644
--- a/libc/inet/rpc/svc_tcp.c
+++ b/libc/inet/rpc/svc_tcp.c
@@ -81,7 +81,7 @@ libc_hidden_proto(poll)
libc_hidden_proto(accept)
libc_hidden_proto(listen)
libc_hidden_proto(fputs)
-libc_hidden_proto(fclose)
+/* libc_hidden_proto(fclose) */
/* libc_hidden_proto(abort) */
/*
diff --git a/libc/inet/rpc/svc_udp.c b/libc/inet/rpc/svc_udp.c
index ffbbd4681..0e008868b 100644
--- a/libc/inet/rpc/svc_udp.c
+++ b/libc/inet/rpc/svc_udp.c
@@ -80,7 +80,7 @@ libc_hidden_proto(sendto)
libc_hidden_proto(recvmsg)
libc_hidden_proto(sendmsg)
libc_hidden_proto(fputs)
-libc_hidden_proto(fprintf)
+/* libc_hidden_proto(fprintf) */
#define rpc_buffer(xprt) ((xprt)->xp_p1)
#ifndef MAX