From: ehofman Date: Mon, 11 Aug 2003 08:50:30 +0000 (+0000) Subject: Make the aircraft loader function static X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=0f6b618381581fae378fc7d9be567c6df77fd09f;p=flightgear.git Make the aircraft loader function static --- diff --git a/src/Aircraft/aircraft.cxx b/src/Aircraft/aircraft.cxx index bfe7c81ba..e88fb83e4 100644 --- a/src/Aircraft/aircraft.cxx +++ b/src/Aircraft/aircraft.cxx @@ -140,7 +140,7 @@ void fgReadAircraft(void) { globals->get_commands()->addCommand("load-aircraft", fgLoadAircraft); } -bool +static bool fgLoadAircraft (const SGPropertyNode * arg) { static const SGPropertyNode *master_freeze diff --git a/src/Aircraft/aircraft.hxx b/src/Aircraft/aircraft.hxx index 65450ffb1..94fd6db3c 100644 --- a/src/Aircraft/aircraft.hxx +++ b/src/Aircraft/aircraft.hxx @@ -59,7 +59,7 @@ void fgAircraftOutputCurrent(fgAIRCRAFT *a); // Read the list of available aircraft into to property tree void fgReadAircraft(void); -bool fgLoadAircraft (const SGPropertyNode * arg); +static bool fgLoadAircraft (const SGPropertyNode * arg); #endif // _AIRCRAFT_HXX