mirror of https://github.com/mpv-player/mpv
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:
parent
dd2fcb4370
commit
4ba28aa023
|
@ -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 );
|
||||
|
||||
// ---
|
||||
|
||||
|
|
Loading…
Reference in New Issue