Blob Blame History Raw
diff --git a/get-edid.h b/get-edid.h
index 2f72f0e..5020b5d 100644
--- a/get-edid.h
+++ b/get-edid.h
 #define EDID_BLOCK_SIZE		128
 #define MAX_EXTENSION_COUNT	4
 
-int verbose;
+int verbose = 0;
 
 int get_edid(char *edid, int port, int skip_vbe_check);
 
diff --git a/monitor-get-edid-using-vbe.c b/monitor-get-edid-using-vbe.c
index c6235fd..6fce705 100644
--- a/monitor-get-edid-using-vbe.c
+++ b/monitor-get-edid-using-vbe.c
@@ -12,8 +12,7 @@
 #include <sys/vt.h>
 #include "get-edid.h"
+#include "vbe.c"
 
-int verbose = 0;
-
 static void timeout_handler(int signal)
 {
   fprintf(stderr, "ERROR: timeout during EDID probe\n");

diff --git a/Makefile b/Makefile
index 2923441..a8a0575 100644
--- a/Makefile
+++ b/Makefile
@@ -28,7 +28,7 @@ endif
 
 CPPFLAGS := -I. $(CPPFLAGS)
 CFLAGS := -O -Wall -g $(CFLAGS)
-OBJS = monitor-get-edid-using-vbe.c vbe.o
+OBJS = monitor-get-edid-using-vbe.c
 
 monitor-get-edid-using-vbe: LDFLAGS += -lx86