evNames / evBoxs should be "static const"

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25271 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
reimar 2007-12-02 21:41:51 +00:00
parent dd2fcb4370
commit 4ba28aa023
2 changed files with 2 additions and 5 deletions

View File

@ -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 );
// ---

View File

@ -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