OSDN Git Service
(root)
/
uclinux-h8
/
uClibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
36bff6b
)
add attribute_unused and include features.h so that we can include libc-internal...
author
Mike Frysinger
<vapier@gentoo.org>
Sat, 10 Dec 2005 02:34:20 +0000
(
02:34
-0000)
committer
Mike Frysinger
<vapier@gentoo.org>
Sat, 10 Dec 2005 02:34:20 +0000
(
02:34
-0000)
include/libc-internal.h
patch
|
blob
|
history
diff --git
a/include/libc-internal.h
b/include/libc-internal.h
index
3bf8c00
..
03f17dd
100644
(file)
--- 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")))