1
0
Fork 0

#ifdef'd out some unused code that was problematic for MSVC++ to compile.

This commit is contained in:
curt 1998-01-05 22:19:25 +00:00
parent 2e27909b9e
commit ad75b49c08
2 changed files with 12 additions and 1 deletions

View file

@ -34,6 +34,9 @@
$Header$ $Header$
$Log$ $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 Revision 1.2 1997/05/29 22:39:58 curt
Working on incorporating the LaRCsim flight model. 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) char *ls_init_get_set(char *buffer, char *eob)
/* This routine parses the settings file for "init" entries. */ /* This routine parses the settings file for "init" entries. */
{ {
@ -308,7 +313,7 @@ char *ls_init_get_set(char *buffer, char *eob)
return bufptr; return bufptr;
} }
#endif /* COMPILE_THIS_CODE_THIS_USELESS_CODE */
void ls_init_put_set( FILE *fp ) void ls_init_put_set( FILE *fp )

View file

@ -327,6 +327,8 @@ void ls_setdefopts()
#define OPT_OK 0 #define OPT_OK 0
#define OPT_ERR 1 #define OPT_ERR 1
#ifdef COMPILE_THIS_CODE_THIS_USELESS_CODE
extern char *optarg; extern char *optarg;
extern int optind; extern int optind;
@ -476,6 +478,7 @@ int ls_checkopts(argc, argv) /* check and set options flags */
return OPT_OK; return OPT_OK;
} }
#endif /* COMPILE_THIS_CODE_THIS_USELESS_CODE */
void ls_loop( dt, initialize ) void ls_loop( dt, initialize )
@ -909,6 +912,9 @@ int fgLaRCsim_2_Flight (struct fgFLIGHT *f) {
/* Flight Gear Modification Log /* Flight Gear Modification Log
* *
* $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 * 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. * Prepended "fg" on the name of all global structures that didn't have it yet.
* i.e. "struct WEATHER {}" became "struct fgWEATHER {}" * i.e. "struct WEATHER {}" became "struct fgWEATHER {}"