diff options
author | Uwe Hermann <uwe@hermann-uwe.de> | 2008-03-20 20:05:22 +0000 |
---|---|---|
committer | Uwe Hermann <uwe@hermann-uwe.de> | 2008-03-20 20:05:22 +0000 |
commit | 35845a2acb869ea028c98c8c2b912ae3c61053e2 (patch) | |
tree | 9ac674e56ec1470c113ce850efc976c2bf214bf7 /payloads/coreinfo/coreinfo.c | |
parent | 6a441bfb46337ed6b59abed56dad35d94802282c (diff) |
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
Diffstat (limited to 'payloads/coreinfo/coreinfo.c')
-rw-r--r-- | payloads/coreinfo/coreinfo.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/payloads/coreinfo/coreinfo.c b/payloads/coreinfo/coreinfo.c index 4a86bc256f..de183886ca 100644 --- a/payloads/coreinfo/coreinfo.c +++ b/payloads/coreinfo/coreinfo.c @@ -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; } |