diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2020-03-16 13:24:12 +0100 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2020-03-16 13:24:17 +0100 |
commit | 1bb8a8aa29845378903f3c690e17c0867c820da2 (patch) | |
tree | b3a47449ad72b397c72f87f1b8a8fe144f9e2745 | |
parent | e40d809dadb7998bf2413394a4e2e7c946eb9f6f (diff) | |
download | fbida-1bb8a8aa29845378903f3c690e17c0867c820da2.tar.gz |
gcc10 build fix
by Adrian Reber <adrian@lisas.de>
-rw-r--r-- | fbi.c | 1 | ||||
-rw-r--r-- | filter.c | 2 | ||||
-rw-r--r-- | idaconfig.h | 2 | ||||
-rw-r--r-- | readers.c | 2 | ||||
-rw-r--r-- | viewer.c | 1 |
5 files changed, 3 insertions, 5 deletions
@@ -86,7 +86,6 @@ static int img_mem, max_mem_mb; /* graphics interface */ gfxstate *gfx; -int debug; /* framebuffer */ char *fbdev = NULL; @@ -6,8 +6,6 @@ #include "readers.h" #include "filter.h" -int debug = 0; - /* ----------------------------------------------------------------------- */ static void diff --git a/idaconfig.h b/idaconfig.h index 8d616ef..d09a178 100644 --- a/idaconfig.h +++ b/idaconfig.h @@ -17,7 +17,7 @@ /* -------------------------------------------------------------------------- */ -char *ida_lists; +extern char *ida_lists; void ida_init_config(void); void ida_read_config(void); @@ -7,6 +7,8 @@ #include "readers.h" #include "byteorder.h" +int debug=0; + /* ----------------------------------------------------------------------- */ void load_bits_lsb(unsigned char *dst, unsigned char *src, int width, @@ -38,7 +38,6 @@ #define PROCESS_LINES 16 -int debug; Cursor ptrs[POINTER_COUNT]; /* ----------------------------------------------------------------------- */ |