Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/sys/linux/machine/i386/weakalias.h')
-rw-r--r--newlib/libc/sys/linux/machine/i386/weakalias.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/newlib/libc/sys/linux/machine/i386/weakalias.h b/newlib/libc/sys/linux/machine/i386/weakalias.h
new file mode 100644
index 000000000..539ee4ae4
--- /dev/null
+++ b/newlib/libc/sys/linux/machine/i386/weakalias.h
@@ -0,0 +1,4 @@
+#define weak_alias(name, aliasname) \
+ extern __typeof (name) aliasname __attribute__ ((weak, alias (#name)));
+
+