diff --git a/gui/app.c b/gui/app.c index 3558320d6e..b300179468 100644 --- a/gui/app.c +++ b/gui/app.c @@ -14,7 +14,7 @@ #include "mplayer/gmplayer.h" #include "interface.h" -evName evNames[] = +static const evName evNames[] = { { evNone, "evNone" }, { evPlay, "evPlay" }, @@ -66,7 +66,7 @@ evName evNames[] = { evSetAspect, "evSetAspect" } }; -int evBoxs = sizeof( evNames ) / sizeof( evName ); +static const int evBoxs = sizeof( evNames ) / sizeof( evName ); // --- diff --git a/gui/app.h b/gui/app.h index 197c294bcc..073ff10d7f 100644 --- a/gui/app.h +++ b/gui/app.h @@ -97,9 +97,6 @@ typedef struct const char * name; } evName; -extern int evBoxs; -extern evName evNames[]; - #define itNULL 0 #define itButton 101 // button #define itHPotmeter 102 // horizontal potmeter