From 002ad7b87780d80c4636f623d4e9e4cc89734de4 Mon Sep 17 00:00:00 2001 From: Jeroen Hofstee Date: Wed, 8 Oct 2014 22:57:25 +0200 Subject: misc: use __weak Signed-off-by: Jeroen Hofstee --- common/menu.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'common/menu.c') 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 -- cgit v1.2.1