summaryrefslogtreecommitdiff
path: root/libc/inet/ntop.c
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2005-12-08 14:29:53 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2005-12-08 14:29:53 +0000
commit11b9aee8ff8c9ab70ef6e5b6d68f75cd8a44c4d5 (patch)
tree40fa6c344cdb770bfb6edd104b41417fe6a8ba88 /libc/inet/ntop.c
parentab9d3f10ea97362d3c8ed875f2a721bf56c0f0ed (diff)
Again rpc ;-( , all *inet*, *addr*
Diffstat (limited to 'libc/inet/ntop.c')
-rw-r--r--libc/inet/ntop.c18
1 files changed, 6 insertions, 12 deletions
diff --git a/libc/inet/ntop.c b/libc/inet/ntop.c
index 65ff1842b..2fcc77591 100644
--- a/libc/inet/ntop.c
+++ b/libc/inet/ntop.c
@@ -349,12 +349,8 @@ inet_pton6(const char *src, u_char *dst)
* author:
* Paul Vixie, 1996.
*/
-extern const char *
-inet_ntop(af, src, dst, size)
- int af;
- const void *src;
- char *dst;
- socklen_t size;
+const char attribute_hidden *
+__inet_ntop(int af, const void *src, char *dst, socklen_t size)
{
switch (af) {
case AF_INET:
@@ -369,6 +365,7 @@ inet_ntop(af, src, dst, size)
}
/* NOTREACHED */
}
+strong_alias(__inet_ntop,inet_ntop)
/* int
@@ -382,11 +379,8 @@ inet_ntop(af, src, dst, size)
* author:
* Paul Vixie, 1996.
*/
-extern int
-inet_pton(af, src, dst)
- int af;
- const char *src;
- void *dst;
+int attribute_hidden
+__inet_pton(int af, const char *src, void *dst)
{
switch (af) {
case AF_INET:
@@ -401,4 +395,4 @@ inet_pton(af, src, dst)
}
/* NOTREACHED */
}
-
+strong_alias(__inet_pton,inet_pton)