summaryrefslogtreecommitdiff
path: root/libc/inet/getproto.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/inet/getproto.c')
-rw-r--r--libc/inet/getproto.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/libc/inet/getproto.c b/libc/inet/getproto.c
index 837f1315f..c297a6549 100644
--- a/libc/inet/getproto.c
+++ b/libc/inet/getproto.c
@@ -62,14 +62,6 @@
#include <errno.h>
#include <unistd.h>
-/* 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(fgets) */
-/* libc_hidden_proto(fclose) */
-/* libc_hidden_proto(abort) */
#include <bits/uClibc_mutex.h>
__UCLIBC_MUTEX_STATIC(mylock, PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP);
@@ -93,7 +85,6 @@ static void __initbuf(void)
}
}
-/* libc_hidden_proto(setprotoent) */
void setprotoent(int f)
{
__UCLIBC_MUTEX_LOCK(mylock);
@@ -106,7 +97,6 @@ void setprotoent(int f)
}
libc_hidden_def(setprotoent)
-/* libc_hidden_proto(endprotoent) */
void endprotoent(void)
{
__UCLIBC_MUTEX_LOCK(mylock);
@@ -119,7 +109,6 @@ void endprotoent(void)
}
libc_hidden_def(endprotoent)
-/* libc_hidden_proto(getprotoent_r) */
int getprotoent_r(struct protoent *result_buf,
char *buf, size_t buflen,
struct protoent **result)
@@ -210,7 +199,6 @@ struct protoent * getprotoent(void)
}
-/* libc_hidden_proto(getprotobyname_r) */
int getprotobyname_r(const char *name,
struct protoent *result_buf,
char *buf, size_t buflen,
@@ -247,7 +235,6 @@ struct protoent * getprotobyname(const char *name)
}
-/* libc_hidden_proto(getprotobynumber_r) */
int getprotobynumber_r (int proto_num,
struct protoent *result_buf,
char *buf, size_t buflen,