svn commit: trunk/uClibc/include
vapier at uclibc.org
vapier at uclibc.org
Sat Dec 10 02:34:52 UTC 2005
Author: vapier
Date: 2005-12-09 18:34:20 -0800 (Fri, 09 Dec 2005)
New Revision: 12795
Log:
add attribute_unused and include features.h so that we can include libc-internal.h directly and have it work
Modified:
trunk/uClibc/include/libc-internal.h
Changeset:
Modified: trunk/uClibc/include/libc-internal.h
===================================================================
--- trunk/uClibc/include/libc-internal.h 2005-12-10 02:20:00 UTC (rev 12794)
+++ trunk/uClibc/include/libc-internal.h 2005-12-10 02:34:20 UTC (rev 12795)
@@ -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")))
More information about the uClibc-cvs
mailing list