From 09b6f4b00d5a953c10f7a1c3b0325ab67204be43 Mon Sep 17 00:00:00 2001 From: Martin Pool Date: Wed, 28 Nov 2001 01:29:41 +0000 Subject: [PATCH] Fix inet_ntop/pton names --- lib/inet_ntop.c | 2 +- lib/inet_pton.c | 7 +++---- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/lib/inet_ntop.c b/lib/inet_ntop.c index 2c0f03d6..7866999a 100644 --- a/lib/inet_ntop.c +++ b/lib/inet_ntop.c @@ -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: diff --git a/lib/inet_pton.c b/lib/inet_pton.c index e8248687..4034fe1a 100644 --- a/lib/inet_pton.c +++ b/lib/inet_pton.c @@ -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: -- 2.34.1