summaryrefslogtreecommitdiff
path: root/include/libc-symbols.h
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2009-02-27 22:51:07 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2009-02-27 22:51:07 +0000
commitf5773054ef6420f52887bfa2c8dd1a40423e2187 (patch)
treef6dab9a316d393d0bb055faf363b00dd43249663 /include/libc-symbols.h
parent147041d26029fabdb35b596a1d3bcbb40c3de975 (diff)
fix breakage in x86_64 defconfig
Diffstat (limited to 'include/libc-symbols.h')
-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. */