Commit 78ef39e3 authored by Sami Nurmenniemi's avatar Sami Nurmenniemi

Fix inline weak compiler errors

parent 7be7949b
......@@ -47,6 +47,7 @@ DECLARE_GLOBAL_DATA_PTR;
/*
* Board-specific Platform code can reimplement show_boot_progress () if needed
*/
#define inline inline __attribute__((always_inline)) __attribute__((__gnu_inline__))
void inline __show_boot_progress (int val) {}
void show_boot_progress (int val) __attribute__((weak, alias("__show_boot_progress")));
......
......@@ -92,6 +92,7 @@ extern void rtl8019_get_enetaddr (uchar * addr);
************************************************************************
* May be supplied by boards if desired
*/
#define inline inline __attribute__((always_inline)) __attribute__((__gnu_inline__))
void inline __coloured_LED_init (void) {}
void coloured_LED_init (void) __attribute__((weak, alias("__coloured_LED_init")));
void inline __red_LED_on (void) {}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment