From: Ben Kaduk Date: Mon, 25 Nov 2013 18:36:34 +0000 (-0500) Subject: Remove inet_ntoa() prototype from getrpcent.c X-Git-Tag: krb5-1.13-alpha1~307 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=32a770ac1851339621185cdca187d8c1cc27adaf;p=thirdparty%2Fkrb5.git Remove inet_ntoa() prototype from getrpcent.c It is not needed. In general, we shouldn't be using inet_ntoa(), anyway, as it is IPv4-specific and we have IPv6 support almost everywhere. --- diff --git a/src/lib/rpc/getrpcent.c b/src/lib/rpc/getrpcent.c index 604fa85d48..db03daed6c 100644 --- a/src/lib/rpc/getrpcent.c +++ b/src/lib/rpc/getrpcent.c @@ -60,7 +60,6 @@ static struct rpcdata *get_rpcdata(); static struct rpcent *interpret(); struct hostent *gethostent(); -char *inet_ntoa(); static char RPCDB[] = "/etc/rpc";