re-order console output functions, add proper prototypes,
[coreboot.git] / src / console / printk.c
index f4157a7b00fce882137c119091ab80d69bec383e..3b1ae24ec18e3decae8c84a88af1b0da8e173043 100644 (file)
@@ -7,6 +7,7 @@
 
 #include <stdarg.h>
 #include <smp/spinlock.h>
+#include <console/vtxprintf.h>
 #include <console/console.h>
 
 /* printk's without a loglevel use this.. */
@@ -22,9 +23,6 @@ int default_message_loglevel = DEFAULT_MESSAGE_LOGLEVEL;
 int minimum_console_loglevel = MINIMUM_CONSOLE_LOGLEVEL;
 int default_console_loglevel = CONFIG_DEFAULT_CONSOLE_LOGLEVEL;
 
-void display(char*);
-extern int vtxprintf(void (*)(unsigned char), const char *, va_list);
-
 static spinlock_t console_lock = SPIN_LOCK_UNLOCKED;
 
 int do_printk(int msg_level, const char *fmt, ...)