summaryrefslogtreecommitdiff
path: root/libc/inet/getservice.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/getservice.c
parentb133fe1cac9f99b63ea56daf92caa1423b1289d0 (diff)
Last portion of libc_hidden_proto removal.
Appears to build fine (several .configs tried)
Diffstat (limited to 'libc/inet/getservice.c')
-rw-r--r--libc/inet/getservice.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/libc/inet/getservice.c b/libc/inet/getservice.c
index d427adff9..904f0b79c 100644
--- a/libc/inet/getservice.c
+++ b/libc/inet/getservice.c
@@ -68,8 +68,8 @@
/* Experimentally off - libc_hidden_proto(strpbrk) */
/* libc_hidden_proto(fopen) */
/* libc_hidden_proto(fclose) */
-libc_hidden_proto(atoi)
-libc_hidden_proto(rewind)
+/* libc_hidden_proto(atoi) */
+/* libc_hidden_proto(rewind) */
/* libc_hidden_proto(fgets) */
/* libc_hidden_proto(abort) */
@@ -96,7 +96,7 @@ static void __initbuf(void)
}
}
-libc_hidden_proto(setservent)
+/* libc_hidden_proto(setservent) */
void setservent(int f)
{
__UCLIBC_MUTEX_LOCK(mylock);
@@ -109,7 +109,7 @@ void setservent(int f)
}
libc_hidden_def(setservent)
-libc_hidden_proto(endservent)
+/* libc_hidden_proto(endservent) */
void endservent(void)
{
__UCLIBC_MUTEX_LOCK(mylock);
@@ -122,7 +122,7 @@ void endservent(void)
}
libc_hidden_def(endservent)
-libc_hidden_proto(getservent_r)
+/* libc_hidden_proto(getservent_r) */
int getservent_r(struct servent * result_buf,
char * buf, size_t buflen,
struct servent ** result)
@@ -213,7 +213,7 @@ struct servent * getservent(void)
return result;
}
-libc_hidden_proto(getservbyname_r)
+/* libc_hidden_proto(getservbyname_r) */
int getservbyname_r(const char *name, const char *proto,
struct servent * result_buf, char * buf, size_t buflen,
struct servent ** result)
@@ -251,7 +251,7 @@ struct servent *getservbyname(const char *name, const char *proto)
}
-libc_hidden_proto(getservbyport_r)
+/* libc_hidden_proto(getservbyport_r) */
int getservbyport_r(int port, const char *proto,
struct servent * result_buf, char * buf,
size_t buflen, struct servent ** result)
@@ -273,7 +273,7 @@ int getservbyport_r(int port, const char *proto,
}
libc_hidden_def(getservbyport_r)
-libc_hidden_proto(getservbyport)
+/* libc_hidden_proto(getservbyport) */
struct servent * getservbyport(int port, const char *proto)
{
struct servent *result;