summaryrefslogtreecommitdiff
path: root/libc/inet/getnetent.c
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2006-01-14 19:45:02 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2006-01-14 19:45:02 +0000
commit6f7dc709ed7e403af224b0fbb91e9619629eb2ec (patch)
tree349296ed6e3d73f390409bf96fa4269d1ac20ec7 /libc/inet/getnetent.c
parent2d997660372123ab6ac1ee519b22fe015eaa787b (diff)
make DODEBUG=y happy, update sysdeps/common/* copyright
Diffstat (limited to 'libc/inet/getnetent.c')
-rw-r--r--libc/inet/getnetent.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libc/inet/getnetent.c b/libc/inet/getnetent.c
index 4413811a3..d3fdb988a 100644
--- a/libc/inet/getnetent.c
+++ b/libc/inet/getnetent.c
@@ -47,6 +47,7 @@ static char *net_aliases[MAXALIASES];
int _net_stayopen attribute_hidden;
+libc_hidden_proto(setnetent)
void setnetent(int f)
{
LOCK;
@@ -58,9 +59,9 @@ void setnetent(int f)
UNLOCK;
return;
}
-libc_hidden_proto(setnetent)
libc_hidden_def(setnetent)
+libc_hidden_proto(endnetent)
void endnetent(void)
{
LOCK;
@@ -71,7 +72,6 @@ void endnetent(void)
_net_stayopen = 0;
UNLOCK;
}
-libc_hidden_proto(endnetent)
libc_hidden_def(endnetent)
static char * any(register char *cp, char *match)
@@ -87,6 +87,7 @@ static char * any(register char *cp, char *match)
return ((char *)0);
}
+libc_hidden_proto(getnetent)
struct netent *getnetent(void)
{
char *p;
@@ -146,5 +147,4 @@ again:
UNLOCK;
return (&net);
}
-libc_hidden_proto(getnetent)
libc_hidden_def(getnetent)