From 6b295db049fbca765345a9d1e564ba73090a8be1 Mon Sep 17 00:00:00 2001 From: "Peter S. Mazinger" Date: Fri, 3 Feb 2006 16:12:58 +0000 Subject: disable hidden_proto/def for __BCC__ generally --- include/libc-symbols.h | 2 +- libc/unistd/getopt-susv3.c | 2 -- 2 files changed, 1 insertion(+), 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 #include -#ifndef __BCC__ libc_hidden_proto(fprintf) libc_hidden_proto(strchr) libc_hidden_proto(stderr) -#endif #ifdef __UCLIBC_MJN3_ONLY__ #warning TODO: Enable gettext awareness. -- cgit v1.2.3