From 0f54aa4d170ec57806c66720b5055a8bffdd47ce Mon Sep 17 00:00:00 2001 From: David McCullough Date: Fri, 4 May 2001 00:46:29 +0000 Subject: Clean up some issues for building on m68k. --- libc/inet/rpc/getrpcent.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'libc/inet/rpc/getrpcent.c') diff --git a/libc/inet/rpc/getrpcent.c b/libc/inet/rpc/getrpcent.c index 00e67ee6b..31bb6c087 100644 --- a/libc/inet/rpc/getrpcent.c +++ b/libc/inet/rpc/getrpcent.c @@ -36,6 +36,7 @@ */ #include +#include #include #include #include @@ -60,12 +61,6 @@ static struct rpcent *interpret(const char *val, int len); struct hostent *gethostent(); char *inet_ntoa(); -#ifndef __linux__ -static char *index(); -#else -char *index(); -#endif - static char RPCDB[] = "/etc/rpc"; static struct rpcdata *_rpcdata() -- cgit v1.2.3