aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'localdecls.h')
-rw-r--r--localdecls.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/localdecls.h b/localdecls.h
index ab6b8d7..938c20e 100644
--- a/localdecls.h
+++ b/localdecls.h
@@ -55,6 +55,8 @@
/* Taken from glibc */
# define strong_alias(_name, _aliasname) \
extern __typeof (_name) _aliasname __attribute__ ((alias (#_name)));
+# define weak_alias(_name, _aliasname) \
+ extern __typeof (_name) _aliasname __attribute__ ((weak, alias (#_name)));
#endif