From ea92185755a578d9a1b5df5cbf7b05ee2cea2390 Mon Sep 17 00:00:00 2001 From: Maciej Pijanka Date: Tue, 27 Oct 2009 14:29:29 +0000 Subject: Add few missing prototypes, and remove few unused (thus lonelly) variables. TODO - x86emu need (imo) some common header with prototypes at least - clog2, ulzma, hardwaremain prototypes added by this patch probably should be moved to some header too. - in src/devices/device_util.c prototype is before function because seems, it is used only within same file, if not it should be moved to debug section of prototypes in include/device/device.h Signed-off-by: Maciej Pijanka Acked-by: Myles Watson git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4871 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/arch/i386/lib/exception.c | 2 ++ src/arch/i386/lib/printk_init.c | 3 +++ 2 files changed, 5 insertions(+) (limited to 'src/arch/i386/lib') diff --git a/src/arch/i386/lib/exception.c b/src/arch/i386/lib/exception.c index cc923a8f35..f720ba8567 100644 --- a/src/arch/i386/lib/exception.c +++ b/src/arch/i386/lib/exception.c @@ -361,6 +361,8 @@ static void put_packet(char *buffer) #include +void x86_exception(struct eregs *info); + void x86_exception(struct eregs *info) { #if CONFIG_GDB_STUB == 1 diff --git a/src/arch/i386/lib/printk_init.c b/src/arch/i386/lib/printk_init.c index 7e5dfa03dc..f0ad2551bb 100644 --- a/src/arch/i386/lib/printk_init.c +++ b/src/arch/i386/lib/printk_init.c @@ -32,6 +32,9 @@ int console_loglevel = CONFIG_DEFAULT_CONSOLE_LOGLEVEL; #define console_loglevel CONFIG_DEFAULT_CONSOLE_LOGLEVEL #endif +void console_tx_byte(unsigned char byte); +int do_printk(int msg_level, const char *fmt, ...); + void console_tx_byte(unsigned char byte) { if (byte == '\n') -- cgit v1.2.3