summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorJeroen Hofstee <jeroen@myspectrum.nl>2014-10-08 22:57:25 +0200
committerTom Rini <trini@ti.com>2014-10-25 07:01:59 -0400
commit002ad7b87780d80c4636f623d4e9e4cc89734de4 (patch)
tree32ac579fa8e2656a88bd1f48fc61c85edbd9fb46 /common
parent00dcb07c545a6c5650fa5d2350b4f3f14e92274c (diff)
downloadtalos-obmc-uboot-002ad7b87780d80c4636f623d4e9e4cc89734de4.tar.gz
talos-obmc-uboot-002ad7b87780d80c4636f623d4e9e4cc89734de4.zip
misc: use __weak
Signed-off-by: Jeroen Hofstee <jeroen@myspectrum.nl>
Diffstat (limited to 'common')
-rw-r--r--common/menu.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/common/menu.c b/common/menu.c
index 94afeb2900..e81c074f36 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
OpenPOWER on IntegriCloud