From 21237865a7b9e4898516678382a98163a9248592 Mon Sep 17 00:00:00 2001 From: "Peter S. Mazinger" Date: Wed, 7 Dec 2005 00:50:06 +0000 Subject: Hide *clnt|pmap|svc* and some rpc. inet/rpc is full of relocs ... --- libc/stdio/perror.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'libc/stdio/perror.c') diff --git a/libc/stdio/perror.c b/libc/stdio/perror.c index 26a0cebd9..d69ccd5c3 100644 --- a/libc/stdio/perror.c +++ b/libc/stdio/perror.c @@ -11,7 +11,7 @@ #warning CONSIDER: Increase buffer size for error message (non-%m case)? #endif -void perror(register const char *s) +void attribute_hidden __perror(register const char *s) { /* If the program is calling perror, it's a safe bet that printf and * friends are used as well. It is also possible that the calling @@ -34,3 +34,4 @@ void perror(register const char *s) } #endif } +strong_alias(__perror,perror) -- cgit v1.2.3