summaryrefslogtreecommitdiff
path: root/libc/stdio/perror.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/stdio/perror.c')
-rw-r--r--libc/stdio/perror.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/stdio/perror.c b/libc/stdio/perror.c
index f10667cbf..993fcf428 100644
--- a/libc/stdio/perror.c
+++ b/libc/stdio/perror.c
@@ -14,6 +14,7 @@ libc_hidden_proto(__glibc_strerror_r)
#warning CONSIDER: Increase buffer size for error message (non-%m case)?
#endif
+libc_hidden_proto(perror)
void perror(register const char *s)
{
/* If the program is calling perror, it's a safe bet that printf and
@@ -37,5 +38,4 @@ void perror(register const char *s)
}
#endif
}
-libc_hidden_proto(perror)
libc_hidden_def(perror)