From e486ef1d6d682f2fd4d3605ed873de030d10ae2a Mon Sep 17 00:00:00 2001 From: Marti Bolivar Date: Tue, 20 Mar 2012 17:46:41 -0400 Subject: wirish/boards.cpp: Use __weak instead of GCC attribute. Signed-off-by: Marti Bolivar --- wirish/boards.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'wirish') diff --git a/wirish/boards.cpp b/wirish/boards.cpp index 7d783db..04b359f 100644 --- a/wirish/boards.cpp +++ b/wirish/boards.cpp @@ -45,6 +45,7 @@ */ #include +#include #include #include #include @@ -71,7 +72,7 @@ void init(void) { } /* Provide a default boardInit(). */ -__attribute__((weak)) void boardInit(void) { +__weak void boardInit(void) { } /* You could farm this out to the files in boards/ if e.g. it takes -- cgit v1.2.3