summaryrefslogtreecommitdiff
path: root/libc/inet/herror.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/inet/herror.c')
-rw-r--r--libc/inet/herror.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/inet/herror.c b/libc/inet/herror.c
index 6efbc2f93..cfcf0e23a 100644
--- a/libc/inet/herror.c
+++ b/libc/inet/herror.c
@@ -38,6 +38,7 @@ static const int h_nerr = { sizeof(h_errlist)/sizeof(h_errlist[0]) };
/*
* herror -- print the error indicated by the h_errno value.
*/
+libc_hidden_proto(herror)
void herror(const char *s)
{
static const char colon_space[] = ": ";
@@ -54,7 +55,6 @@ void herror(const char *s)
}
fprintf(stderr, "%s%s%s\n", s, c, p);
}
-libc_hidden_proto(herror)
libc_hidden_def(herror)