Fix inet_ntop/pton names
authorMartin Pool <mbp@samba.org>
Wed, 28 Nov 2001 01:29:41 +0000 (01:29 +0000)
committerMartin Pool <mbp@samba.org>
Wed, 28 Nov 2001 01:29:41 +0000 (01:29 +0000)
lib/inet_ntop.c
lib/inet_pton.c

index 2c0f03d..7866999 100644 (file)
@@ -43,7 +43,7 @@ static const char *inet_ntop6(const unsigned char *src, char *dst,
  *     Paul Vixie, 1996.
  */
 const char *
-isc_net_ntop(int af, const void *src, char *dst, size_t size)
+inet_ntop(int af, const void *src, char *dst, size_t size)
 {
        switch (af) {
        case AF_INET:
index e824868..4034fe1 100644 (file)
@@ -41,10 +41,9 @@ static int inet_pton6(const char *src, unsigned char *dst);
  *     Paul Vixie, 1996.
  */
 int
-isc_net_pton(af, src, dst)
-       int af;
-       const char *src;
-       void *dst;
+inet_pton(int af,
+         const char *src,
+         void *dst)
 {
        switch (af) {
        case AF_INET: