Subversion Repositories wimsdev

Rev

Rev 14873 | Rev 15509 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 14873 Rev 15297
Line 249... Line 249...
249
    int type;
249
    int type;
250
    double list[MAX_VALUE_LIST];
250
    double list[MAX_VALUE_LIST];
251
    char *pos[MAX_VALUE_LIST];
251
    char *pos[MAX_VALUE_LIST];
252
    double from, to, step;
252
    double from, to, step;
253
};
253
};
254
/**
-
 
255
 * GK 2020-04-18
-
 
256
 * gcc-10 raises an error when varaibles are declared twice. So forstruct
-
 
257
 * is in an extern clause, and its actual variable is defined in ./evalue.c
-
 
258
 * line 163.
-
 
259
 **/
-
 
260
extern struct forstruct forstruct;
254
extern struct forstruct forstruct;
261
 
255
 
262
int cutfor(char *p, char *bufp);
256
int cutfor(char *p, char *bufp);
263
void float2str(double d, char *p);
257
void float2str(double d, char *p);
264
 
258
 
Line 334... Line 328...
334
void close_working_file(WORKING_FILE *f, int cache);
328
void close_working_file(WORKING_FILE *f, int cache);
335
void read_tmp_file(char *p, const char *fname);
329
void read_tmp_file(char *p, const char *fname);
336
void initalarm(void);
330
void initalarm(void);
337
extern int var_noexport; /* do not export variable */
331
extern int var_noexport; /* do not export variable */
338
 
332
 
339
/**
-
 
340
 * GK 2020-04-18
-
 
341
 * gcc-10 no longer admits variable declarations in header files.
-
 
342
 * so this is commented out and replaced below to use external clauses
-
 
343
enum {mode_default, mode_popup, mode_raw} NAME_MODES;
-
 
344
* the actual variable "NAME_MODES" is defined in wims.c, line 21
-
 
345
 **/
-
 
346
enum Name_Modes {mode_default, mode_popup, mode_raw};
333
enum Name_Modes {mode_default, mode_popup, mode_raw};
347
extern enum Name_Modes NAME_MODES;
334
extern enum Name_Modes NAME_MODES;
348
 
335
 
349
extern char *manager_site;
336
extern char *manager_site;
350
void flushoutput(void);
337
void flushoutput(void);