diff options
author | Peter S. Mazinger <ps.m@gmx.net> | 2006-02-01 22:10:08 +0000 |
---|---|---|
committer | Peter S. Mazinger <ps.m@gmx.net> | 2006-02-01 22:10:08 +0000 |
commit | b326308200ddc31a7306966e1696e6db9642899e (patch) | |
tree | 2167c3628ca814ff7738c1a74324c6a1341be8fd | |
parent | c57c602353c5538d9219feabd11bf3f0394bd0c3 (diff) |
Use -DSTATIC and remove stub_warning, not accepted
-rw-r--r-- | include/libc-symbols.h | 8 |
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...) \ |