Make the aircraft loader function static
This commit is contained in:
parent
0a7cc77d5e
commit
0f6b618381
2 changed files with 2 additions and 2 deletions
|
@ -140,7 +140,7 @@ void fgReadAircraft(void) {
|
||||||
globals->get_commands()->addCommand("load-aircraft", fgLoadAircraft);
|
globals->get_commands()->addCommand("load-aircraft", fgLoadAircraft);
|
||||||
}
|
}
|
||||||
|
|
||||||
bool
|
static bool
|
||||||
fgLoadAircraft (const SGPropertyNode * arg)
|
fgLoadAircraft (const SGPropertyNode * arg)
|
||||||
{
|
{
|
||||||
static const SGPropertyNode *master_freeze
|
static const SGPropertyNode *master_freeze
|
||||||
|
|
|
@ -59,7 +59,7 @@ void fgAircraftOutputCurrent(fgAIRCRAFT *a);
|
||||||
|
|
||||||
// Read the list of available aircraft into to property tree
|
// Read the list of available aircraft into to property tree
|
||||||
void fgReadAircraft(void);
|
void fgReadAircraft(void);
|
||||||
bool fgLoadAircraft (const SGPropertyNode * arg);
|
static bool fgLoadAircraft (const SGPropertyNode * arg);
|
||||||
|
|
||||||
#endif // _AIRCRAFT_HXX
|
#endif // _AIRCRAFT_HXX
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue