summaryrefslogtreecommitdiff
path: root/libc/inet/herror.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/herror.c
parentab9d3f10ea97362d3c8ed875f2a721bf56c0f0ed (diff)
Again rpc ;-( , all *inet*, *addr*
Diffstat (limited to 'libc/inet/herror.c')
-rw-r--r--libc/inet/herror.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libc/inet/herror.c b/libc/inet/herror.c
index 79b84084f..2f0797b91 100644
--- a/libc/inet/herror.c
+++ b/libc/inet/herror.c
@@ -36,7 +36,7 @@ static const int h_nerr = { sizeof(h_errlist)/sizeof(h_errlist[0]) };
/*
* herror -- print the error indicated by the h_errno value.
*/
-void herror(const char *s)
+void attribute_hidden __herror(const char *s)
{
static const char colon_space[] = ": ";
const char *p;
@@ -52,6 +52,7 @@ void herror(const char *s)
}
fprintf(stderr, "%s%s%s\n", s, c, p);
}
+strong_alias(__herror,herror)
const char *hstrerror(int err)