diff options
author | Peter S. Mazinger <ps.m@gmx.net> | 2006-01-14 19:45:02 +0000 |
---|---|---|
committer | Peter S. Mazinger <ps.m@gmx.net> | 2006-01-14 19:45:02 +0000 |
commit | 6f7dc709ed7e403af224b0fbb91e9619629eb2ec (patch) | |
tree | 349296ed6e3d73f390409bf96fa4269d1ac20ec7 /libc/inet/rpc/getrpcent.c | |
parent | 2d997660372123ab6ac1ee519b22fe015eaa787b (diff) |
make DODEBUG=y happy, update sysdeps/common/* copyright
Diffstat (limited to 'libc/inet/rpc/getrpcent.c')
-rw-r--r-- | libc/inet/rpc/getrpcent.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libc/inet/rpc/getrpcent.c b/libc/inet/rpc/getrpcent.c index 83dcc7e78..428fbcc31 100644 --- a/libc/inet/rpc/getrpcent.c +++ b/libc/inet/rpc/getrpcent.c @@ -84,6 +84,7 @@ static struct rpcdata *_rpcdata(void) return d; } +libc_hidden_proto(endrpcent) void endrpcent(void) { register struct rpcdata *d = _rpcdata(); @@ -101,9 +102,9 @@ void endrpcent(void) d->rpcf = NULL; } } -libc_hidden_proto(endrpcent) libc_hidden_def(endrpcent) +libc_hidden_proto(setrpcent) void setrpcent(int f) { register struct rpcdata *d = _rpcdata(); @@ -119,7 +120,6 @@ void setrpcent(int f) d->current = NULL; d->stayopen |= f; } -libc_hidden_proto(setrpcent) libc_hidden_def(setrpcent) static struct rpcent *interpret(struct rpcdata *); @@ -131,6 +131,7 @@ static struct rpcent *__get_next_rpcent(struct rpcdata *d) return interpret(d); } +libc_hidden_proto(getrpcent) struct rpcent *getrpcent(void) { register struct rpcdata *d = _rpcdata(); @@ -141,9 +142,9 @@ struct rpcent *getrpcent(void) return NULL; return __get_next_rpcent(d); } -libc_hidden_proto(getrpcent) libc_hidden_def(getrpcent) +libc_hidden_proto(getrpcbynumber) struct rpcent *getrpcbynumber(register int number) { register struct rpcdata *d = _rpcdata(); @@ -159,9 +160,9 @@ struct rpcent *getrpcbynumber(register int number) endrpcent(); return rpc; } -libc_hidden_proto(getrpcbynumber) libc_hidden_def(getrpcbynumber) +libc_hidden_proto(getrpcbyname) struct rpcent *getrpcbyname(const char *name) { struct rpcent *rpc; @@ -179,7 +180,6 @@ struct rpcent *getrpcbyname(const char *name) endrpcent(); return NULL; } -libc_hidden_proto(getrpcbyname) libc_hidden_def(getrpcbyname) #ifdef __linux__ |