]> git.mxchange.org Git - flightgear.git/commitdiff
Make the aircraft loader function static
authorehofman <ehofman>
Mon, 11 Aug 2003 08:50:30 +0000 (08:50 +0000)
committerehofman <ehofman>
Mon, 11 Aug 2003 08:50:30 +0000 (08:50 +0000)
src/Aircraft/aircraft.cxx
src/Aircraft/aircraft.hxx

index bfe7c81ba9b5ee9b362b4b44aab703e35a2cb7c1..e88fb83e4f2d76f9e1fa2d391b30f65d048c1a0f 100644 (file)
@@ -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
index 65450ffb18f3d8d412a6beb970198e949fcf8796..94fd6db3c37a15f7a8c6bae8a9d2a60aa5cc04dc 100644 (file)
@@ -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