diff options
author | Martin Pool <mbp@samba.org> | 2001-11-28 01:29:41 +0000 |
---|---|---|
committer | Martin Pool <mbp@samba.org> | 2001-11-28 01:29:41 +0000 |
commit | 09b6f4b00d5a953c10f7a1c3b0325ab67204be43 (patch) | |
tree | 010bef54fc6df90cc984152608af6681addceb71 /lib | |
parent | 7067b0aa2800bec29f14f8db8570c21eb1b6c224 (diff) | |
download | android_external_rsync-09b6f4b00d5a953c10f7a1c3b0325ab67204be43.tar.gz android_external_rsync-09b6f4b00d5a953c10f7a1c3b0325ab67204be43.tar.bz2 android_external_rsync-09b6f4b00d5a953c10f7a1c3b0325ab67204be43.zip |
Fix inet_ntop/pton names
Diffstat (limited to 'lib')
-rw-r--r-- | lib/inet_ntop.c | 2 | ||||
-rw-r--r-- | 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: |