diff options
author | Uwe Hermann <uwe@hermann-uwe.de> | 2008-03-20 20:46:44 +0000 |
---|---|---|
committer | Uwe Hermann <uwe@hermann-uwe.de> | 2008-03-20 20:46:44 +0000 |
commit | 14a3feb0686b9c97034de828844f52c75ccc42d1 (patch) | |
tree | a3e4a54ab6796cc60b045a8f03bf23ff5a000d7e /payloads/libpayload/include/libpayload.h | |
parent | 35845a2acb869ea028c98c8c2b912ae3c61053e2 (diff) |
Fix code to allow usage of -Wall in libpayload and the sample (trivial).
This even fixes two bugs:
- get_cpu_speed() didn't return a value.
- The line
win->_color - PAIR_NUMBER(0);
should actually be
win->_color = PAIR_NUMBER(0);
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@3182 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'payloads/libpayload/include/libpayload.h')
-rw-r--r-- | payloads/libpayload/include/libpayload.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/payloads/libpayload/include/libpayload.h b/payloads/libpayload/include/libpayload.h index 48150089bd..d1ca842b94 100644 --- a/payloads/libpayload/include/libpayload.h +++ b/payloads/libpayload/include/libpayload.h @@ -59,7 +59,7 @@ void vga_fill(uint8_t ch, uint8_t attr); void vga_clear(void); void vga_putc(uint8_t row, uint8_t col, unsigned int c); void vga_putchar(unsigned int ch); -int vga_move_cursor(int x, int y); +void vga_move_cursor(int x, int y); void vga_init(void); /* libc/console.c */ |