summaryrefslogtreecommitdiff
path: root/klibc/include/klibc/extern.h
diff options
context:
space:
mode:
Diffstat (limited to 'klibc/include/klibc/extern.h')
-rw-r--r--klibc/include/klibc/extern.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/klibc/include/klibc/extern.h b/klibc/include/klibc/extern.h
index f9c3467211..8a73d19358 100644
--- a/klibc/include/klibc/extern.h
+++ b/klibc/include/klibc/extern.h
@@ -11,4 +11,6 @@
#define __extern extern
#endif
+#define __alias(x) __attribute__((weak, alias(x)))
+
#endif /* _KLIBC_EXTERN_H */