summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrank Gevaerts <frank@gevaerts.be>2012-06-14 22:22:30 +0200
committerFrank Gevaerts <frank@gevaerts.be>2012-06-14 22:23:50 +0200
commita9217bde2749df65d2f59fb63bf1622096263e4f (patch)
tree1117734f9df84c58d57f2092636386d569cd97a0
parent784fb6a1ddf27085c13972fdb0f8f9ddcbfa8b50 (diff)
downloadrockbox-a9217bde2749df65d2f59fb63bf1622096263e4f.tar.gz
rockbox-a9217bde2749df65d2f59fb63bf1622096263e4f.zip
Remove extraneous "extern int display_zoom" declarations.
One extern declaration of a variable should be enough for everyone! Change-Id: Idd4f4e05abaa5bb82693134a262d4023e1be6bd6
-rw-r--r--firmware/target/hosted/sdl/lcd-sdl.h1
-rw-r--r--firmware/target/hosted/sdl/system-sdl.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/firmware/target/hosted/sdl/lcd-sdl.h b/firmware/target/hosted/sdl/lcd-sdl.h
index 1f57b06b95..a964c9bc40 100644
--- a/firmware/target/hosted/sdl/lcd-sdl.h
+++ b/firmware/target/hosted/sdl/lcd-sdl.h
@@ -26,7 +26,6 @@
#include "SDL.h"
/* Default display zoom level */
-extern int display_zoom;
extern SDL_Surface *gui_surface;
void sdl_update_rect(SDL_Surface *surface, int x_start, int y_start, int width,
diff --git a/firmware/target/hosted/sdl/system-sdl.c b/firmware/target/hosted/sdl/system-sdl.c
index a57e704246..1e1968d66d 100644
--- a/firmware/target/hosted/sdl/system-sdl.c
+++ b/firmware/target/hosted/sdl/system-sdl.c
@@ -60,7 +60,6 @@ bool lcd_display_redraw = true; /* Used for player simulator */
char having_new_lcd = true; /* Used for player simulator */
bool sim_alarm_wakeup = false;
const char *sim_root_dir = NULL;
-extern int display_zoom;
static SDL_Thread *evt_thread = NULL;