summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-12-06 01:11:47 +0000
committerMike Frysinger <vapier@gentoo.org>2005-12-06 01:11:47 +0000
commitf97fb53f14c4100c66065daa9802362629cb98ff (patch)
tree3afe583b920840f892043893e096c75b20036ab2 /include
parent6e6ff78b3e119855175330228f389203e68c872b (diff)
first pass at hidden_def() macro based on the glibc one
Diffstat (limited to 'include')
-rw-r--r--include/libc-internal.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/libc-internal.h b/include/libc-internal.h
index 22798aac7..632b53ac5 100644
--- a/include/libc-internal.h
+++ b/include/libc-internal.h
@@ -97,6 +97,7 @@
#else
# define attribute_hidden
#endif
+#define hidden_def(name) extern __typeof (name) name attribute_hidden;
#ifdef __UCLIBC_BUILD_RELRO__
# define attribute_relro __attribute__ ((section (".data.rel.ro")))