diff options
author | Ron Lee <ron@debian.org> | 2009-08-05 20:14:01 +0200 |
---|---|---|
committer | Tom Rix <Tom.Rix@windriver.com> | 2009-11-11 08:41:01 -0600 |
commit | f865fcbbb35851e75fee9c3a3fa8e0f71d9e6463 (patch) | |
tree | ef3ca349031d26abaeb502e79546672a8ef2ef49 | |
parent | 0f365273a6c210e0d82f6dca3994be5283e6bf82 (diff) | |
download | u-boot-imx-f865fcbbb35851e75fee9c3a3fa8e0f71d9e6463.zip u-boot-imx-f865fcbbb35851e75fee9c3a3fa8e0f71d9e6463.tar.gz u-boot-imx-f865fcbbb35851e75fee9c3a3fa8e0f71d9e6463.tar.bz2 |
ARM Don't inline weak symbols
------------------------------------------------------------------------
GCC 4.4 complains about this now.
Signed-off-by: Ron Lee <ron@debian.org>
-rw-r--r-- | lib_arm/board.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/lib_arm/board.c b/lib_arm/board.c index 5e3d7f6..e148739 100644 --- a/lib_arm/board.c +++ b/lib_arm/board.c @@ -93,23 +93,23 @@ extern void rtl8019_get_enetaddr (uchar * addr); * May be supplied by boards if desired */ void inline __coloured_LED_init (void) {} -void inline coloured_LED_init (void) __attribute__((weak, alias("__coloured_LED_init"))); +void coloured_LED_init (void) __attribute__((weak, alias("__coloured_LED_init"))); void inline __red_LED_on (void) {} -void inline red_LED_on (void) __attribute__((weak, alias("__red_LED_on"))); +void red_LED_on (void) __attribute__((weak, alias("__red_LED_on"))); void inline __red_LED_off(void) {} -void inline red_LED_off(void) __attribute__((weak, alias("__red_LED_off"))); +void red_LED_off(void) __attribute__((weak, alias("__red_LED_off"))); void inline __green_LED_on(void) {} -void inline green_LED_on(void) __attribute__((weak, alias("__green_LED_on"))); +void green_LED_on(void) __attribute__((weak, alias("__green_LED_on"))); void inline __green_LED_off(void) {} -void inline green_LED_off(void)__attribute__((weak, alias("__green_LED_off"))); +void green_LED_off(void) __attribute__((weak, alias("__green_LED_off"))); void inline __yellow_LED_on(void) {} -void inline yellow_LED_on(void)__attribute__((weak, alias("__yellow_LED_on"))); +void yellow_LED_on(void) __attribute__((weak, alias("__yellow_LED_on"))); void inline __yellow_LED_off(void) {} -void inline yellow_LED_off(void)__attribute__((weak, alias("__yellow_LED_off"))); +void yellow_LED_off(void) __attribute__((weak, alias("__yellow_LED_off"))); void inline __blue_LED_on(void) {} -void inline blue_LED_on(void)__attribute__((weak, alias("__blue_LED_on"))); +void blue_LED_on(void) __attribute__((weak, alias("__blue_LED_on"))); void inline __blue_LED_off(void) {} -void inline blue_LED_off(void)__attribute__((weak, alias("__blue_LED_off"))); +void blue_LED_off(void) __attribute__((weak, alias("__blue_LED_off"))); /************************************************************************ * Init Utilities * |