From b326308200ddc31a7306966e1696e6db9642899e Mon Sep 17 00:00:00 2001 From: "Peter S. Mazinger" Date: Wed, 1 Feb 2006 22:10:08 +0000 Subject: Use -DSTATIC and remove stub_warning, not accepted --- include/libc-symbols.h | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'include/libc-symbols.h') 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...) \ -- cgit v1.2.3