From f5773054ef6420f52887bfa2c8dd1a40423e2187 Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Fri, 27 Feb 2009 22:51:07 +0000 Subject: fix breakage in x86_64 defconfig --- include/libc-symbols.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'include') 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. */ -- cgit v1.2.3