diff options
-rw-r--r-- | include/libc-symbols.h | 2 | ||||
-rw-r--r-- | libc/unistd/getopt-susv3.c | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/include/libc-symbols.h b/include/libc-symbols.h index a9dd31b38..e1d1b19be 100644 --- a/include/libc-symbols.h +++ b/include/libc-symbols.h @@ -388,7 +388,7 @@ # define __hidden_proto_hiddenattr(attrs...) #endif -#ifndef STATIC +#if !defined STATIC && !defined __BCC__ # ifndef __ASSEMBLER__ # define hidden_proto(name, attrs...) __hidden_proto (name, __GI_##name, ##attrs) # define __hidden_proto(name, internal, attrs...) \ diff --git a/libc/unistd/getopt-susv3.c b/libc/unistd/getopt-susv3.c index 6f93e4399..0d57dce20 100644 --- a/libc/unistd/getopt-susv3.c +++ b/libc/unistd/getopt-susv3.c @@ -34,11 +34,9 @@ #include <string.h> #include <stdio.h> -#ifndef __BCC__ libc_hidden_proto(fprintf) libc_hidden_proto(strchr) libc_hidden_proto(stderr) -#endif #ifdef __UCLIBC_MJN3_ONLY__ #warning TODO: Enable gettext awareness. |