From b83f5bbdcb1fca0e79da3f51035b6273515e3316 Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Thu, 8 Mar 2007 21:28:29 +0000 Subject: [PATCH] Weird. Make header match c file. Signed-off-by: Stefan Reinauer Acked-by: Stefan Reinauer git-svn-id: svn://coreboot.org/repository/LinuxBIOSv3@219 f3766cd6-281f-0410-b1cd-43a5c92072e9 --- arch/x86/console.c | 3 ++- include/console/console.h | 2 -- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/arch/x86/console.c b/arch/x86/console.c index 67e799da44..a4d57f8f57 100644 --- a/arch/x86/console.c +++ b/arch/x86/console.c @@ -10,12 +10,13 @@ int vtxprintf(void (*)(unsigned char, void *arg), void *arg, const char *, va_list); + static int console_loglevel(void) { return CONFIG_DEFAULT_CONSOLE_LOGLEVEL; } -void console_tx_byte(unsigned char byte, void *ignored) +void console_tx_byte(unsigned char byte) { if (byte == '\n') { uart8250_tx_byte(TTYSx_BASE, '\r'); diff --git a/include/console/console.h b/include/console/console.h index 47182de210..5bbbd50248 100644 --- a/include/console/console.h +++ b/include/console/console.h @@ -42,8 +42,6 @@ struct console_driver { extern struct console_driver console_drivers[]; extern struct console_driver econsole_drivers[]; -extern int console_loglevel; - // int printk(int msg_level, const char *fmt, ...);