summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/include/sys/cdefs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/include/sys/cdefs.h b/sys/include/sys/cdefs.h
index 73ff4ca..66a2dff 100644
--- a/sys/include/sys/cdefs.h
+++ b/sys/include/sys/cdefs.h
@@ -33,6 +33,7 @@
#include <sys/param.h>
#define __ASMV __asm__ __volatile__
+#define __weak __attribute__((__weak__))
#define __always_inline __attribute__((__always_inline__))
#define __packed __attribute__((__packed__))
#define __dead __attribute__((__noreturn__))