Fix most warnings (errors with -Werror) when debugging is enabled
I used the following command to enable debugging:
perl -p -i -e 's/^\/\/#define DEBUG/#define DEBUG/g' * */* */*/*
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
diff --git a/qemu-tool.c b/qemu-tool.c
index c08f061..ba24aa2 100644
--- a/qemu-tool.c
+++ b/qemu-tool.c
@@ -15,11 +15,14 @@
#include "monitor.h"
#include "sysemu.h"
#include "qemu-timer.h"
+#include "qemu-log.h"
#include <sys/time.h>
QEMUClock *rt_clock;
+FILE *logfile;
+
struct QEMUBH
{
QEMUBHFunc *cb;