(loginit, main): Pass log file basename as parameter.
(logerror): Require prior call of loginit(). (empth_exit) [_EMPTH_WIN32]: Don't print the log file name here, it's not modular. (program, getlogfile): Unused, remove.
This commit is contained in:
parent
379e0a61c3
commit
8d438a4601
4 changed files with 4 additions and 18 deletions
|
@ -332,7 +332,7 @@ extern int has_units_with_mob(coord, coord, natid);
|
|||
extern int adj_units(coord, coord, natid);
|
||||
extern int has_helpful_engineer(coord x, coord y, natid cn);
|
||||
/* log.c */
|
||||
extern void loginit(void);
|
||||
extern void loginit(s_char *);
|
||||
extern void logerror(s_char *, ...);
|
||||
/* maps.c */
|
||||
extern int draw_map(int, s_char, int, struct nstr_sect *, int);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue