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 ++- libc/stdio/popen.c | 1 + libc/stdio/scanf.c | 1 + libc/stdio/vfprintf.c | 1 + 4 files changed, 5 insertions(+), 1 deletion(-) (limited to 'libc/stdio') 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) diff --git a/libc/stdio/popen.c b/libc/stdio/popen.c index 2e9985a39..00c2d7bb1 100644 --- a/libc/stdio/popen.c +++ b/libc/stdio/popen.c @@ -16,6 +16,7 @@ #define waitpid __waitpid #define execl __execl +#define dup2 __dup2 #include #include diff --git a/libc/stdio/scanf.c b/libc/stdio/scanf.c index 19484d588..4db939f93 100644 --- a/libc/stdio/scanf.c +++ b/libc/stdio/scanf.c @@ -47,6 +47,7 @@ #define mbsrtowcs __mbsrtowcs #define mbrtowc __mbrtowc #define ungetc __ungetc +#define iswspace __iswspace #define _ISOC99_SOURCE /* for LLONG_MAX primarily... */ #define _GNU_SOURCE diff --git a/libc/stdio/vfprintf.c b/libc/stdio/vfprintf.c index e3f389a6b..d835038ba 100644 --- a/libc/stdio/vfprintf.c +++ b/libc/stdio/vfprintf.c @@ -93,6 +93,7 @@ #define wcsnlen __wcsnlen #define wcsrtombs __wcsrtombs #define mbsrtowcs __mbsrtowcs +#define btowc __btowc #define _ISOC99_SOURCE /* for ULLONG primarily... */ #define _GNU_SOURCE -- cgit v1.2.3