From def25f39d56df5be6bac2f89c81f70cd71033379 Mon Sep 17 00:00:00 2001 From: ehofman Date: Sat, 18 Dec 2004 11:59:33 +0000 Subject: [PATCH] gcc 4.0 fixes. --- src/Input/input.cxx | 2 +- src/Scripting/nasal-props.cxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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[] = { -- 2.39.5