From 850e7d48845ed78bc50f9d0d8caae8132d2ba38d Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Mon, 28 Sep 2015 13:12:04 -0700 Subject: vgabios: fix compilation after x86emu changes This utility links in coreboot code, and has been broken for a while again after removing some hacks from coreboot. I hadn't realized how bad it was broken last time, and since most of this stuff is still in a pretty bad shape, I decided to throw all of the changes together. Signed-off-by: Stefan Reinauer Change-Id: If3e4399b1b0e947433b97caa29962ef66ea2993d Reviewed-on: http://review.coreboot.org/11736 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi --- util/vgabios/include/console/console.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'util/vgabios/include') diff --git a/util/vgabios/include/console/console.h b/util/vgabios/include/console/console.h index e74cbb3dcf..e52dbf7a97 100644 --- a/util/vgabios/include/console/console.h +++ b/util/vgabios/include/console/console.h @@ -1,4 +1,6 @@ #ifndef _CONSOLE_CONSOLE_H #define _CONSOLE_CONSOLE_H #define CONFIG_X86EMU_DEBUG 1 + +int printk(int msg_level, const char *fmt, ...) __attribute__((format(printf, 2, 3))); #endif -- cgit v1.2.3