summaryrefslogtreecommitdiff
path: root/libc/inet/getproto.c
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2008-11-20 22:11:44 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2008-11-20 22:11:44 +0000
commitcb97aadebfeba7f5e8f1b85beee5ab10e88c2990 (patch)
treef5f56f2ef0f3048325419857d0b538135524ff8c /libc/inet/getproto.c
parentb133fe1cac9f99b63ea56daf92caa1423b1289d0 (diff)
Last portion of libc_hidden_proto removal.
Appears to build fine (several .configs tried)
Diffstat (limited to 'libc/inet/getproto.c')
-rw-r--r--libc/inet/getproto.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/libc/inet/getproto.c b/libc/inet/getproto.c
index bfaf4917f..837f1315f 100644
--- a/libc/inet/getproto.c
+++ b/libc/inet/getproto.c
@@ -65,8 +65,8 @@
/* libc_hidden_proto(fopen) */
/* Experimentally off - libc_hidden_proto(strcmp) */
/* Experimentally off - libc_hidden_proto(strpbrk) */
-libc_hidden_proto(atoi)
-libc_hidden_proto(rewind)
+/* libc_hidden_proto(atoi) */
+/* libc_hidden_proto(rewind) */
/* libc_hidden_proto(fgets) */
/* libc_hidden_proto(fclose) */
/* libc_hidden_proto(abort) */
@@ -93,7 +93,7 @@ static void __initbuf(void)
}
}
-libc_hidden_proto(setprotoent)
+/* libc_hidden_proto(setprotoent) */
void setprotoent(int f)
{
__UCLIBC_MUTEX_LOCK(mylock);
@@ -106,7 +106,7 @@ void setprotoent(int f)
}
libc_hidden_def(setprotoent)
-libc_hidden_proto(endprotoent)
+/* libc_hidden_proto(endprotoent) */
void endprotoent(void)
{
__UCLIBC_MUTEX_LOCK(mylock);
@@ -119,7 +119,7 @@ void endprotoent(void)
}
libc_hidden_def(endprotoent)
-libc_hidden_proto(getprotoent_r)
+/* libc_hidden_proto(getprotoent_r) */
int getprotoent_r(struct protoent *result_buf,
char *buf, size_t buflen,
struct protoent **result)
@@ -210,7 +210,7 @@ struct protoent * getprotoent(void)
}
-libc_hidden_proto(getprotobyname_r)
+/* libc_hidden_proto(getprotobyname_r) */
int getprotobyname_r(const char *name,
struct protoent *result_buf,
char *buf, size_t buflen,
@@ -247,7 +247,7 @@ struct protoent * getprotobyname(const char *name)
}
-libc_hidden_proto(getprotobynumber_r)
+/* libc_hidden_proto(getprotobynumber_r) */
int getprotobynumber_r (int proto_num,
struct protoent *result_buf,
char *buf, size_t buflen,