summaryrefslogtreecommitdiff
path: root/src/console/vsprintf.c
diff options
context:
space:
mode:
authorMyles Watson <mylesgw@gmail.com>2009-11-12 16:38:03 +0000
committerMyles Watson <mylesgw@gmail.com>2009-11-12 16:38:03 +0000
commit2e6727362410294ad39116a3d84d99746565ce05 (patch)
treefbe6a12f3fbbd5a2fc08a7c18df4e45faf356700 /src/console/vsprintf.c
parentf9a72600a9fc4b6ed9aeebb7641c9209861c6548 (diff)
Add CONFIG_WARNINGS_ARE_ERRORS and set it for qemu.
Remove all remaining warnings from qemu. Signed-off-by: Myles Watson <mylesgw@gmail.com> Acked-by: Ronald G. Minnich <rminnich@gmail.com> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4939 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/console/vsprintf.c')
-rw-r--r--src/console/vsprintf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/console/vsprintf.c b/src/console/vsprintf.c
index c4c91115c2..090063cf62 100644
--- a/src/console/vsprintf.c
+++ b/src/console/vsprintf.c
@@ -24,7 +24,7 @@
#include <smp/spinlock.h>
#include <console/vtxprintf.h>
-static spinlock_t vsprintf_lock = SPIN_LOCK_UNLOCKED;
+DECLARE_SPIN_LOCK(vsprintf_lock)
static char *str_buf;