rogue3: replace alarm() calls with a portable function.

Calls to alarm() in main.c are replaced with md_start_checkout_timer(),
so the #ifdefs around nonportable code can be confined to mdport.c.
This commit is contained in:
John "Elwin" Edwards 2016-01-22 19:19:48 -05:00
parent 11f7731a3d
commit b731962f3b
3 changed files with 6 additions and 16 deletions

View file

@ -187,6 +187,8 @@ void md_onsignal_exit(void);
void md_onsignal_default(void);
int md_issymlink(char *sp);
int md_loadav(double *avg);
void md_start_checkout_timer(int time);
void md_stop_checkout_timer(void);
long md_memused(void);
int md_ucount(void);
int md_unlockfile(FILE *fp);