Browse Source

disable hidden_proto/def for __BCC__ generally

Peter S. Mazinger 18 years ago
parent
commit
6b295db049
2 changed files with 1 additions and 3 deletions
  1. 1 1
      include/libc-symbols.h
  2. 0 2
      libc/unistd/getopt-susv3.c

+ 1 - 1
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...) \

+ 0 - 2
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.