Smaller fixes to allow using -Wall (trivial).
Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de> Acked-by: Uwe Hermann <uwe@hermann-uwe.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3181 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
@@ -52,7 +52,7 @@ void print_module_title(WINDOW *win, const char *title)
|
||||
|
||||
void print_menu(void)
|
||||
{
|
||||
int i, j, len;
|
||||
int i, j;
|
||||
char menu[80];
|
||||
char *ptr = menu;
|
||||
|
||||
@@ -105,7 +105,7 @@ static void redraw_module(void)
|
||||
refresh();
|
||||
}
|
||||
|
||||
int loop(void)
|
||||
void loop(void)
|
||||
{
|
||||
int key;
|
||||
|
||||
@@ -168,4 +168,6 @@ int main(void)
|
||||
modules[i]->init();
|
||||
|
||||
loop();
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user