diff options
author | Mike Frysinger <vapier@gentoo.org> | 2005-12-10 02:34:20 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2005-12-10 02:34:20 +0000 |
commit | f8f1411ef08ec9ffa3a7766e1bafc93b266abdc5 (patch) | |
tree | 92bb5ed7f1d8b0a012a7c6c175a4de08cc42035f | |
parent | 36bff6b9bf5265c4d02fc6256dd5b3c81db709ff (diff) | |
download | uClibc-alpine-f8f1411ef08ec9ffa3a7766e1bafc93b266abdc5.tar.bz2 uClibc-alpine-f8f1411ef08ec9ffa3a7766e1bafc93b266abdc5.tar.xz |
add attribute_unused and include features.h so that we can include libc-internal.h directly and have it work
-rw-r--r-- | include/libc-internal.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/libc-internal.h b/include/libc-internal.h index 3bf8c00ac..03f17dd43 100644 --- a/include/libc-internal.h +++ b/include/libc-internal.h @@ -19,6 +19,8 @@ #ifndef _LIBC_INTERNAL_H #define _LIBC_INTERNAL_H 1 +#include <features.h> + /* Some nice features only work properly with ELF */ #if defined __HAVE_ELF__ /* Define ALIASNAME as a weak alias for NAME. */ @@ -94,6 +96,8 @@ # define __cast__(_to) #endif +#define attribute_unused __attribute__ ((unused)) + /* Arrange to hide uClibc internals */ #if __GNUC_PREREQ (3, 3) # define attribute_hidden __attribute__ ((visibility ("hidden"))) |