diff --git a/src/Input/input.cxx b/src/Input/input.cxx index 0f39b4c37..00d8dd375 100644 --- a/src/Input/input.cxx +++ b/src/Input/input.cxx @@ -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[] = { diff --git a/src/Scripting/nasal-props.cxx b/src/Scripting/nasal-props.cxx index b53895953..81d58fc33 100644 --- a/src/Scripting/nasal-props.cxx +++ b/src/Scripting/nasal-props.cxx @@ -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[] = {