From a9217bde2749df65d2f59fb63bf1622096263e4f Mon Sep 17 00:00:00 2001 From: Frank Gevaerts Date: Thu, 14 Jun 2012 22:22:30 +0200 Subject: Remove extraneous "extern int display_zoom" declarations. One extern declaration of a variable should be enough for everyone! Change-Id: Idd4f4e05abaa5bb82693134a262d4023e1be6bd6 --- firmware/target/hosted/sdl/lcd-sdl.h | 1 - firmware/target/hosted/sdl/system-sdl.c | 1 - 2 files changed, 2 deletions(-) (limited to 'firmware/target') 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; -- cgit v1.2.3