diff options
author | Jeroen Hofstee <jeroen@myspectrum.nl> | 2014-10-08 22:57:25 +0200 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2014-10-25 07:01:59 -0400 |
commit | 002ad7b87780d80c4636f623d4e9e4cc89734de4 (patch) | |
tree | 32ac579fa8e2656a88bd1f48fc61c85edbd9fb46 /common/menu.c | |
parent | 00dcb07c545a6c5650fa5d2350b4f3f14e92274c (diff) | |
download | u-boot-imx-002ad7b87780d80c4636f623d4e9e4cc89734de4.zip u-boot-imx-002ad7b87780d80c4636f623d4e9e4cc89734de4.tar.gz u-boot-imx-002ad7b87780d80c4636f623d4e9e4cc89734de4.tar.bz2 |
misc: use __weak
Signed-off-by: Jeroen Hofstee <jeroen@myspectrum.nl>
Diffstat (limited to 'common/menu.c')
-rw-r--r-- | common/menu.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/common/menu.c b/common/menu.c index 94afeb2..e81c074 100644 --- a/common/menu.c +++ b/common/menu.c @@ -105,12 +105,9 @@ static inline void *menu_item_destroy(struct menu *m, return NULL; } -void __menu_display_statusline(struct menu *m) +__weak void menu_display_statusline(struct menu *m) { - return; } -void menu_display_statusline(struct menu *m) - __attribute__ ((weak, alias("__menu_display_statusline"))); /* * Display a menu so the user can make a choice of an item. First display its |