]> git.mxchange.org Git - flightgear.git/commitdiff
gcc 4.0 fixes.
authorehofman <ehofman>
Sat, 18 Dec 2004 11:59:33 +0000 (11:59 +0000)
committerehofman <ehofman>
Sat, 18 Dec 2004 11:59:33 +0000 (11:59 +0000)
src/Input/input.cxx
src/Scripting/nasal-props.cxx

index 0f39b4c37d138c8c3ed744124628b32c2ade474e..00d8dd375056360e04bd6dc20debbb354515148d 100644 (file)
@@ -551,7 +551,7 @@ FGInput::_init_joystick ()
 // cursors defined as textures referenced in the property tree.  This
 // list could then be eliminated. -Andy
 //
-struct {
+static struct {
   const char * name;
   int cursor;
 } mouse_cursor_map[] = {
index b53895953240da503a087f8f02106be18a2f2efa..81d58fc33d52f04dd86c1c161e75b8bc95ad00b7 100644 (file)
@@ -213,7 +213,7 @@ static naRef f_globals(naContext c, naRef args)
     return propNodeGhostCreate(c, globals->get_props());
 }
 
-struct {
+static struct {
     naCFunction func;
     char* name;
 } propfuncs[] = {