diff --git a/LaRCsim/ls_init.c b/LaRCsim/ls_init.c index 399929e87..583931c10 100644 --- a/LaRCsim/ls_init.c +++ b/LaRCsim/ls_init.c @@ -34,6 +34,9 @@ $Header$ $Log$ +Revision 1.3 1998/01/05 22:19:25 curt +#ifdef'd out some unused code that was problematic for MSVC++ to compile. + Revision 1.2 1997/05/29 22:39:58 curt Working on incorporating the LaRCsim flight model. @@ -210,6 +213,8 @@ void ls_init() } +#ifdef COMPILE_THIS_CODE_THIS_USELESS_CODE + char *ls_init_get_set(char *buffer, char *eob) /* This routine parses the settings file for "init" entries. */ { @@ -308,7 +313,7 @@ char *ls_init_get_set(char *buffer, char *eob) return bufptr; } - +#endif /* COMPILE_THIS_CODE_THIS_USELESS_CODE */ void ls_init_put_set( FILE *fp ) diff --git a/LaRCsim/ls_interface.c b/LaRCsim/ls_interface.c index 5c6c62abe..a1200045d 100644 --- a/LaRCsim/ls_interface.c +++ b/LaRCsim/ls_interface.c @@ -327,6 +327,8 @@ void ls_setdefopts() #define OPT_OK 0 #define OPT_ERR 1 +#ifdef COMPILE_THIS_CODE_THIS_USELESS_CODE + extern char *optarg; extern int optind; @@ -476,6 +478,7 @@ int ls_checkopts(argc, argv) /* check and set options flags */ return OPT_OK; } +#endif /* COMPILE_THIS_CODE_THIS_USELESS_CODE */ void ls_loop( dt, initialize ) @@ -909,6 +912,9 @@ int fgLaRCsim_2_Flight (struct fgFLIGHT *f) { /* Flight Gear Modification Log * * $Log$ + * Revision 1.11 1998/01/05 22:19:26 curt + * #ifdef'd out some unused code that was problematic for MSVC++ to compile. + * * Revision 1.10 1997/12/10 22:37:43 curt * Prepended "fg" on the name of all global structures that didn't have it yet. * i.e. "struct WEATHER {}" became "struct fgWEATHER {}"