krb5 commit: Remove inet_ntoa() prototype from getrpcent.c

Benjamin Kaduk kaduk at MIT.EDU
Mon Nov 25 13:44:04 EST 2013


https://github.com/krb5/krb5/commit/32a770ac1851339621185cdca187d8c1cc27adaf
commit 32a770ac1851339621185cdca187d8c1cc27adaf
Author: Ben Kaduk <kaduk at mit.edu>
Date:   Mon Nov 25 13:36:34 2013 -0500

    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.

 src/lib/rpc/getrpcent.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/src/lib/rpc/getrpcent.c b/src/lib/rpc/getrpcent.c
index 604fa85..db03dae 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";
 


More information about the cvs-krb5 mailing list