From bd870c5e0364501028f7e45db5f7024a9e1bcf14 Mon Sep 17 00:00:00 2001 From: otto <> Date: Tue, 9 Dec 2008 19:38:38 +0000 Subject: [PATCH] fix inet_ntop(3) prototype; ok millert@ libc to be bumbed very soon --- src/include/arpa/inet.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/include/arpa/inet.h b/src/include/arpa/inet.h index 4f177917..77ac649f 100644 --- a/src/include/arpa/inet.h +++ b/src/include/arpa/inet.h @@ -1,4 +1,4 @@ -/* $OpenBSD: inet.h,v 1.10 2004/01/22 21:48:02 espie Exp $ */ +/* $OpenBSD: inet.h,v 1.11 2008/12/09 19:38:38 otto Exp $ */ /* * ++Copyright++ 1983, 1993 @@ -84,7 +84,7 @@ int inet_net_pton(int, const char *, void *, size_t) __attribute__((__bounded__(__string__,3,4))); char *inet_ntoa(struct in_addr); int inet_pton(int, const char *, void *); -const char *inet_ntop(int, const void *, char *, size_t) +const char *inet_ntop(int, const void *, char *, socklen_t) __attribute__ ((__bounded__(__string__,3,4))); unsigned int inet_nsap_addr(const char *, unsigned char *, int); char *inet_nsap_ntoa(int, const unsigned char *, char *);