From 6f7dc709ed7e403af224b0fbb91e9619629eb2ec Mon Sep 17 00:00:00 2001 From: "Peter S. Mazinger" Date: Sat, 14 Jan 2006 19:45:02 +0000 Subject: make DODEBUG=y happy, update sysdeps/common/* copyright --- libc/inet/getnetent.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libc/inet/getnetent.c') 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) -- cgit v1.2.3