From: ehofman Date: Sat, 18 Dec 2004 11:59:33 +0000 (+0000) Subject: gcc 4.0 fixes. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=def25f39d56df5be6bac2f89c81f70cd71033379;p=flightgear.git gcc 4.0 fixes. --- 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[] = {