A number of static array definitions were shifted into the scope of the function.
static double model_dt;
static double speedup;
-static char asc1name[MAX_FILE_NAME_LENGTH] = "run.asc1";
-static char tabname[MAX_FILE_NAME_LENGTH] = "run.dat";
-static char fltname[MAX_FILE_NAME_LENGTH] = "run.flt";
-static char matname[MAX_FILE_NAME_LENGTH] = "run.m";
int mod_end_time = 0;
int mod_buf_size = 0;
float buffer_time, data_rate;
+ char asc1name[MAX_FILE_NAME_LENGTH] = "run.asc1";
+ char tabname[MAX_FILE_NAME_LENGTH] = "run.dat";
+ char fltname[MAX_FILE_NAME_LENGTH] = "run.flt";
+ char matname[MAX_FILE_NAME_LENGTH] = "run.m";
/* set default values */