From fc29f5d522a1f9845f50195aa540879d36736782 Mon Sep 17 00:00:00 2001 From: ehofman Date: Mon, 11 Aug 2003 17:34:16 +0000 Subject: [PATCH] Back out the patch that made fgLoadAircraft a static function --- src/Aircraft/aircraft.cxx | 2 +- src/Aircraft/aircraft.hxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 -- 2.39.5