summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/libc-symbols.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/include/libc-symbols.h b/include/libc-symbols.h
index 0b1dc1ec3..a9dd31b38 100644
--- a/include/libc-symbols.h
+++ b/include/libc-symbols.h
@@ -267,12 +267,6 @@
= msg;
#endif
-/* A canned warning for sysdeps/stub functions. */
-#define stub_warning(name) \
- __make_section_unallocated (".gnu.uClibc-stub." #name) \
- link_warning (name, \
- "warning: " #name " is not implemented and will always fail")
-
/* Handling on non-exported internal names. We have to do this only
for shared code. */
#ifdef SHARED
@@ -394,7 +388,7 @@
# define __hidden_proto_hiddenattr(attrs...)
#endif
-#if 1 /* SHARED */
+#ifndef STATIC
# ifndef __ASSEMBLER__
# define hidden_proto(name, attrs...) __hidden_proto (name, __GI_##name, ##attrs)
# define __hidden_proto(name, internal, attrs...) \