summaryrefslogtreecommitdiff
path: root/libc/inet/ntop.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/inet/ntop.c')
-rw-r--r--libc/inet/ntop.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libc/inet/ntop.c b/libc/inet/ntop.c
index 16b089f3f..88ff6a150 100644
--- a/libc/inet/ntop.c
+++ b/libc/inet/ntop.c
@@ -356,6 +356,7 @@ inet_pton6(const char *src, u_char *dst)
* author:
* Paul Vixie, 1996.
*/
+libc_hidden_proto(inet_ntop)
const char *
inet_ntop(int af, const void *src, char *dst, socklen_t size)
{
@@ -372,7 +373,6 @@ inet_ntop(int af, const void *src, char *dst, socklen_t size)
}
/* NOTREACHED */
}
-libc_hidden_proto(inet_ntop)
libc_hidden_def(inet_ntop)
@@ -387,6 +387,7 @@ libc_hidden_def(inet_ntop)
* author:
* Paul Vixie, 1996.
*/
+libc_hidden_proto(inet_pton)
int
inet_pton(int af, const char *src, void *dst)
{
@@ -403,5 +404,4 @@ inet_pton(int af, const char *src, void *dst)
}
/* NOTREACHED */
}
-libc_hidden_proto(inet_pton)
libc_hidden_def(inet_pton)