From 21730caa6647f645974e132ca8afec79b4eeab2b Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Fri, 18 Sep 2009 20:57:40 +0200 Subject: trim Experimentally off and uncommented hidden sed -i -e '/Experimentally off - /d' $(grep -rl "Experimentally off - " *) sed -i -e '/^\/\*[[:space:]]*libc_hidden_proto(/d' $(grep -rl "libc_hidden_proto" *) should be a nop Signed-off-by: Bernhard Reutner-Fischer --- libc/inet/getproto.c | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'libc/inet/getproto.c') 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 #include -/* 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 __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, -- cgit v1.2.3