From: Ken Raeburn Date: Tue, 2 Jul 2002 04:21:39 +0000 (+0000) Subject: disable inet_ntop definition X-Git-Tag: krb5-1.3-alpha1~624 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=d46859cc5d82234c3b4e3073b0a8a57b2991316b;p=krb5.git disable inet_ntop definition git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14595 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/kdc/ChangeLog b/src/kdc/ChangeLog index a92869740..bf0f4dfec 100644 --- a/src/kdc/ChangeLog +++ b/src/kdc/ChangeLog @@ -1,3 +1,8 @@ +2002-07-02 Ken Raeburn + + * sock2p.c (inet_ntop): Disable definition; it should be provided + by the socket support header files. + 2002-06-26 Ken Raeburn * dispatch.c (dispatch): Remove arg "portnum"; update callers. diff --git a/src/kdc/sock2p.c b/src/kdc/sock2p.c index f337fda30..736bb22cc 100644 --- a/src/kdc/sock2p.c +++ b/src/kdc/sock2p.c @@ -34,6 +34,8 @@ #include #include "kdc_util.h" +#if 0 /* if we really need this, put it into socket-utils.h or fake-addrinfo.h */ + #ifndef HAVE_INET_NTOP char * inet_ntop (int family, const void *address, char *buf, size_t bufsiz) @@ -75,6 +77,8 @@ inet_ntop (int family, const void *address, char *buf, size_t bufsiz) } #endif +#endif + void sockaddr2p (const struct sockaddr *s, char *buf, size_t bufsiz, int *port_p) {