get rid of unnecessary variables; keep make local variables static

This commit is contained in:
marschap
2005-06-12 16:07:49 +00:00
parent 9f66b41c08
commit 88638117f3
2 changed files with 2 additions and 6 deletions
+2 -4
View File
@@ -40,11 +40,9 @@
#include "render.h"
int heartbeat = HEARTBEAT_OPEN;
int heartbeat_fallback = HEARTBEAT_ON; /* If no heartbeat setting has been set at all */
static int heartbeat_fallback = HEARTBEAT_ON; /* If no heartbeat setting has been set at all */
int backlight = BACKLIGHT_OPEN;
int backlight_fallback = BACKLIGHT_ON; /* If no backlight setting has been set at all */
int backlight_brightness = 255;
int backlight_off_brightness = 0;
static int backlight_fallback = BACKLIGHT_ON; /* If no backlight setting has been set at all */
int output_state = 0;
char * server_msg_text;
int server_msg_expire = 0;
-2
View File
@@ -32,8 +32,6 @@
extern int heartbeat;
extern int backlight;
extern int backlight_brightness;
extern int backlight_off_brightness;
extern int output_state;
int render_screen (Screen * s, long int timer);