From: Edward d'Auvergne Date: Thu, 10 Dec 2015 08:36:04 +0000 (+0100) Subject: LaRCsim cleanup of -Wimplicit-function-declaration compilation warnings. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=7ed80221c3543f15e2c1060383d8ef2cd7e2864d;p=flightgear.git LaRCsim cleanup of -Wimplicit-function-declaration compilation warnings. The stub FDM/LaRCsim/default_model_routines.h header has been expanded and completed. --- diff --git a/src/FDM/LaRCsim/default_model_routines.h b/src/FDM/LaRCsim/default_model_routines.h index 930441ae7..cedef01c6 100644 --- a/src/FDM/LaRCsim/default_model_routines.h +++ b/src/FDM/LaRCsim/default_model_routines.h @@ -10,9 +10,29 @@ void inertias( SCALAR dt, int Initialize ); void subsystems( SCALAR dt, int Initialize ); -void aero( SCALAR dt, int Initialize ); -void engine( SCALAR dt, int Initialize ); -void gear( SCALAR dt, int Initialize ); +void navion_aero( SCALAR dt, int Initialize ); +void navion_engine( SCALAR dt, int Initialize ); +void navion_gear( SCALAR dt, int Initialize ); +void c172_init( void ); +void c172_aero( SCALAR dt, int Initialize ); +void c172_engine( SCALAR dt, int Initialize ); +void c172_gear( SCALAR dt, int Initialize ); +void cherokee_aero( SCALAR dt, int Initialize ); +void cherokee_engine( SCALAR dt, int Initialize ); +void cherokee_gear( SCALAR dt, int Initialize ); +void basic_init( void ); +void basic_aero( SCALAR dt, int Initialize ); +void basic_engine( SCALAR dt, int Initialize ); +void basic_gear( SCALAR dt, int Initialize ); +void uiuc_init_2_wrapper( void ); +void uiuc_network_recv_2_wrapper( void ); +void uiuc_engine_2_wrapper( SCALAR dt, int Initialize ); +void uiuc_wind_2_wrapper( SCALAR dt, int Initialize ); +void uiuc_aero_2_wrapper( SCALAR dt, int Initialize ); +void uiuc_gear_2_wrapper( SCALAR dt, int Initialize ); +void uiuc_network_send_2_wrapper( void ); +void uiuc_record_2_wrapper( SCALAR dt ); +void uiuc_local_vel_init( void ); #endif /* _DEFAULT_MODEL_ROUTINES_H */ diff --git a/src/FDM/LaRCsim/ls_step.c b/src/FDM/LaRCsim/ls_step.c index 3927425cd..ee0225c89 100644 --- a/src/FDM/LaRCsim/ls_step.c +++ b/src/FDM/LaRCsim/ls_step.c @@ -297,7 +297,7 @@ Initial Flight Gear revision. --------------------------------------------------------------------------*/ -//#include +#include "FDM/UIUCModel/uiuc_wrapper.h" #include "ls_types.h" #include "ls_constants.h" @@ -308,6 +308,7 @@ Initial Flight Gear revision. #include "ls_step.h" #include "ls_geodesy.h" #include "ls_gravity.h" +#include "default_model_routines.h" /* #include "ls_sim_control.h" */ #include