Subversion Repositories wimsdev

Compare Revisions

Ignore whitespace Rev 15296 → Rev 15297

/trunk/wims/src/wims.h
251,12 → 251,6
char *pos[MAX_VALUE_LIST];
double from, to, step;
};
/**
* GK 2020-04-18
* gcc-10 raises an error when varaibles are declared twice. So forstruct
* is in an extern clause, and its actual variable is defined in ./evalue.c
* line 163.
**/
extern struct forstruct forstruct;
 
int cutfor(char *p, char *bufp);
336,13 → 330,6
void initalarm(void);
extern int var_noexport; /* do not export variable */
 
/**
* GK 2020-04-18
* gcc-10 no longer admits variable declarations in header files.
* so this is commented out and replaced below to use external clauses
enum {mode_default, mode_popup, mode_raw} NAME_MODES;
* the actual variable "NAME_MODES" is defined in wims.c, line 21
**/
enum Name_Modes {mode_default, mode_popup, mode_raw};
extern enum Name_Modes NAME_MODES;