summaryrefslogtreecommitdiff
path: root/libgcompat/alias.h
diff options
context:
space:
mode:
Diffstat (limited to 'libgcompat/alias.h')
-rw-r--r--libgcompat/alias.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libgcompat/alias.h b/libgcompat/alias.h
index 3f54672..bb99690 100644
--- a/libgcompat/alias.h
+++ b/libgcompat/alias.h
@@ -1,9 +1,9 @@
#ifndef _ALIAS_H_
#define _ALIAS_H_
-#define alias(old, new) \
+#define alias(old, new) \
extern __typeof(old) new __attribute__((__alias__(#old)))
-#define weak_alias(old, new) \
+#define weak_alias(old, new) \
extern __typeof(old) new __attribute__((weak, __alias__(#old)))
#endif /* _ALIAS_H_ */