From 6b2dfa0f90b3422e4cbfa6f51770acde50b19cfa Mon Sep 17 00:00:00 2001 From: Marti Bolivar Date: Tue, 20 Mar 2012 17:46:05 -0400 Subject: Add __weak to . This is just an alias for __attribute__((weak)). Signed-off-by: Marti Bolivar --- libmaple/include/libmaple/libmaple_types.h | 1 + 1 file changed, 1 insertion(+) diff --git a/libmaple/include/libmaple/libmaple_types.h b/libmaple/include/libmaple/libmaple_types.h index 25ad222..b2c424a 100644 --- a/libmaple/include/libmaple/libmaple_types.h +++ b/libmaple/include/libmaple/libmaple_types.h @@ -53,6 +53,7 @@ typedef void (*voidFuncPtr)(void); #define __attr_flash __attribute__((section (".USER_FLASH"))) #define __packed __attribute__((__packed__)) #define __deprecated __attribute__((__deprecated__)) +#define __weak __attribute__((weak)) #ifndef NULL #define NULL 0 -- cgit v1.2.3