Abstract from shutdown initiation mechanism:

(shutdown_initiate): New.
(shut): Use it.  Shutdown in zero minutes no longer cancels the
shutdown, it just works.  Use negative argument to cancel.  Logging is
less detailed.
(shutdown_sequence): Internal linkage.

(pr_wall): All callers prefix text it with the same header.  Move it
into the function.
This commit is contained in:
Markus Armbruster 2007-01-20 20:40:52 +00:00
parent 516f42e063
commit 84cfd670ce
5 changed files with 70 additions and 59 deletions

View file

@ -43,15 +43,15 @@ extern time_t update_time;
extern int updating_mob;
void mobility_init(void);
/* thread entry points */
void delete_lostitems(void *);
void market_init(void);
void mobility_check(void *);
void player_kill_idle(void *);
void update_main(void);
void update_init(void);
int update_trigger(time_t);
void shutdown_sequence(void *);
int shutdown_initiate(int);
/* thread entry points */
void delete_lostitems(void *);
void mobility_check(void *);
void player_kill_idle(void *);
#endif