diff options
author | Damien Miller <djm@mindrot.org> | 2011-09-23 11:16:09 +1000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2011-09-23 11:16:09 +1000 |
commit | 3e6fe87ef99f8ed17d90f0334921183c058697e6 (patch) | |
tree | 98abd28715b93c55a17a5f5d13d1b93823550dba /openbsd-compat/openbsd-compat.h | |
parent | 64efe9671d1b2056e8799dc3a4a2e87925d9804b (diff) |
- otto@cvs.openbsd.org 2008/12/09 19:38:38
[openbsd-compat/inet_ntop.c]
fix inet_ntop(3) prototype; ok millert@ libc to be bumbed very soon
Diffstat (limited to 'openbsd-compat/openbsd-compat.h')
-rw-r--r-- | openbsd-compat/openbsd-compat.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/openbsd-compat/openbsd-compat.h b/openbsd-compat/openbsd-compat.h index 77c5ed2b1..807acf626 100644 --- a/openbsd-compat/openbsd-compat.h +++ b/openbsd-compat/openbsd-compat.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $Id: openbsd-compat.h,v 1.51 2010/10/07 10:25:29 djm Exp $ */ | 1 | /* $Id: openbsd-compat.h,v 1.52 2011/09/23 01:16:11 djm Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * Copyright (c) 1999-2003 Damien Miller. All rights reserved. | 4 | * Copyright (c) 1999-2003 Damien Miller. All rights reserved. |
@@ -116,7 +116,7 @@ char *inet_ntoa(struct in_addr in); | |||
116 | #endif | 116 | #endif |
117 | 117 | ||
118 | #ifndef HAVE_INET_NTOP | 118 | #ifndef HAVE_INET_NTOP |
119 | const char *inet_ntop(int af, const void *src, char *dst, size_t size); | 119 | const char *inet_ntop(int af, const void *src, char *dst, socklen_t size); |
120 | #endif | 120 | #endif |
121 | 121 | ||
122 | #ifndef HAVE_INET_ATON | 122 | #ifndef HAVE_INET_ATON |