OSDN Git Service

Arrange to hide uClibc internals
authorEric Andersen <andersen@codepoet.org>
Wed, 27 Oct 2004 07:26:21 +0000 (07:26 -0000)
committerEric Andersen <andersen@codepoet.org>
Wed, 27 Oct 2004 07:26:21 +0000 (07:26 -0000)
include/features.h

index 9f58132..d74c7d1 100644 (file)
@@ -418,6 +418,13 @@ uClibc was built without large file support enabled.
 #define __LINUX_COMPILER_H
 #endif
 
+/* Arrange to hide uClibc internals */
+#if __GNUC_PREREQ (3, 3)
+# define attribute_hidden __attribute__ ((visibility ("hidden")))
+#else
+# define attribute_hidden
+#endif
+
 /* Pull in things like __attribute_used__ */
 #include <sys/cdefs.h>