From 9c873b1da9d153f054686dd1dece7b567bd11ca8 Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Fri, 1 Aug 2008 16:04:25 +0000 Subject: Remove stray local decls. Misc. ansifications. --- cpukit/librpc/src/rpc/getrpcent.c | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) (limited to 'cpukit/librpc/src/rpc') diff --git a/cpukit/librpc/src/rpc/getrpcent.c b/cpukit/librpc/src/rpc/getrpcent.c index e2d2e164d5..5eb9c98ad5 100644 --- a/cpukit/librpc/src/rpc/getrpcent.c +++ b/cpukit/librpc/src/rpc/getrpcent.c @@ -69,14 +69,12 @@ static int __yp_nomap = 0; extern int _yp_check(char **); #endif /* YP */ -static struct rpcent *interpret(); -struct hostent *gethostent(); -char *inet_ntoa(); +static struct rpcent *interpret(char *val, int len); static char RPCDB[] = "/etc/rpc"; static struct rpcdata * -_rpcdata() +_rpcdata(void) { register struct rpcdata *d = rpcdata; @@ -253,9 +251,9 @@ no_yp: } static struct rpcent * -interpret(val, len) - char *val; - int len; +interpret( + char *val, + int len) { register struct rpcdata *d = _rpcdata(); char *p; -- cgit v1.2.3