summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2009-02-27 22:51:30 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2009-02-27 22:51:30 +0000
commit44fb69f50b0b6faab1c2b4e4c63cf914868f8436 (patch)
tree3dcffc85db19c0db58df4ddab281bbe8f403b2e6 /include
parent1c03d97b4dea9fef596506d7fbeb2fa11f75004c (diff)
downloaduClibc-alpine-44fb69f50b0b6faab1c2b4e4c63cf914868f8436.tar.bz2
uClibc-alpine-44fb69f50b0b6faab1c2b4e4c63cf914868f8436.tar.xz
fix breakage in x86_64 defconfig
Diffstat (limited to 'include')
-rw-r--r--include/libc-symbols.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/libc-symbols.h b/include/libc-symbols.h
index 85a2db7df..6b9731e80 100644
--- a/include/libc-symbols.h
+++ b/include/libc-symbols.h
@@ -177,6 +177,12 @@
# define strong_alias(name, aliasname) _strong_alias(name, aliasname)
# define _strong_alias(name, aliasname) \
extern __typeof (name) aliasname __attribute__ ((alias (#name)));
+/* Same, but does not check for type match. Use sparingly.
+ Example: strong_alias(stat,stat64) may fail, this one works: */
+# define strong_alias_untyped(name, aliasname) \
+ _strong_alias_untyped(name, aliasname)
+# define _strong_alias_untyped(name, aliasname) \
+ extern __typeof (aliasname) aliasname __attribute__ ((alias (#name)));
/* This comes between the return type and function name in
a function definition to make that definition weak. */