Fix: warning: 'static' is not at beginning of declaration
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@5280 4a71c877-e1ca-e34f-864e-861f7616d084master
parent
48ea346406
commit
4f77bdc8e6
|
@ -47,13 +47,13 @@
|
|||
/***************************************************************************/
|
||||
/* global variables */
|
||||
|
||||
struct
|
||||
static struct
|
||||
{
|
||||
BASEANIM *psAnimList;
|
||||
UWORD uwCurObj;
|
||||
UWORD uwCurState;
|
||||
}
|
||||
static g_animGlobals;
|
||||
g_animGlobals;
|
||||
|
||||
/***************************************************************************/
|
||||
/*
|
||||
|
|
|
@ -77,7 +77,7 @@ struct featureTypeMap
|
|||
FEATURE_TYPE type;
|
||||
};
|
||||
|
||||
const static struct featureTypeMap map[] =
|
||||
static const struct featureTypeMap map[] =
|
||||
{
|
||||
{ "HOVER WRECK", FEAT_HOVER },
|
||||
{ "TANK WRECK", FEAT_TANK },
|
||||
|
|
|
@ -49,8 +49,8 @@
|
|||
#define GRAD_MUL 10000
|
||||
|
||||
// rate to change visibility level
|
||||
const static float VIS_LEVEL_INC = 255 * 2;
|
||||
const static float VIS_LEVEL_DEC = 50;
|
||||
static const float VIS_LEVEL_INC = 255 * 2;
|
||||
static const float VIS_LEVEL_DEC = 50;
|
||||
|
||||
// fractional accumulator of how much to change visibility this frame
|
||||
static float visLevelIncAcc, visLevelDecAcc;
|
||||
|
|
Loading…
Reference in New Issue