summaryrefslogtreecommitdiff
path: root/libc/inet/getnetent.c
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2009-09-18 20:57:40 +0200
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2009-09-18 20:57:40 +0200
commit21730caa6647f645974e132ca8afec79b4eeab2b (patch)
tree6c0a0e491526f19ab08062d7f22448ac60ca4bf5 /libc/inet/getnetent.c
parent35c8387f6d3dd3d901bdc9bb7eb1c681cd1b2c0d (diff)
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 <rep.dot.nop@gmail.com>
Diffstat (limited to 'libc/inet/getnetent.c')
-rw-r--r--libc/inet/getnetent.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/libc/inet/getnetent.c b/libc/inet/getnetent.c
index 746f8b704..e9b45ba7e 100644
--- a/libc/inet/getnetent.c
+++ b/libc/inet/getnetent.c
@@ -23,12 +23,6 @@
#include <arpa/inet.h>
#include <unistd.h>
-/* libc_hidden_proto(fopen) */
-/* libc_hidden_proto(fclose) */
-/* libc_hidden_proto(inet_network) */
-/* libc_hidden_proto(rewind) */
-/* libc_hidden_proto(fgets) */
-/* libc_hidden_proto(abort) */
#include <bits/uClibc_mutex.h>
__UCLIBC_MUTEX_STATIC(mylock, PTHREAD_MUTEX_INITIALIZER);
@@ -44,7 +38,6 @@ static char *net_aliases[MAXALIASES];
smallint _net_stayopen attribute_hidden;
-/* libc_hidden_proto(setnetent) */
void setnetent(int f)
{
__UCLIBC_MUTEX_LOCK(mylock);
@@ -58,7 +51,6 @@ void setnetent(int f)
}
libc_hidden_def(setnetent)
-/* libc_hidden_proto(endnetent) */
void endnetent(void)
{
__UCLIBC_MUTEX_LOCK(mylock);
@@ -84,7 +76,6 @@ static char * any(register char *cp, char *match)
return ((char *)0);
}
-/* libc_hidden_proto(getnetent) */
struct netent *getnetent(void)
{
char *p;