From: ehofman Date: Mon, 11 Aug 2003 17:34:16 +0000 (+0000) Subject: Back out the patch that made fgLoadAircraft a static function X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=fc29f5d522a1f9845f50195aa540879d36736782;p=flightgear.git Back out the patch that made fgLoadAircraft a static function --- diff --git a/src/Aircraft/aircraft.cxx b/src/Aircraft/aircraft.cxx index e88fb83e4..bfe7c81ba 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); } -static bool +bool fgLoadAircraft (const SGPropertyNode * arg) { static const SGPropertyNode *master_freeze diff --git a/src/Aircraft/aircraft.hxx b/src/Aircraft/aircraft.hxx index 94fd6db3c..65450ffb1 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); -static bool fgLoadAircraft (const SGPropertyNode * arg); +bool fgLoadAircraft (const SGPropertyNode * arg); #endif // _AIRCRAFT_HXX