diff rogue3/mdport.h @ 212:12e070d1a780

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.
author John "Elwin" Edwards
date Fri, 22 Jan 2016 19:19:48 -0500
parents 527e2150eaf0
children 3d4252fa2ed3
line wrap: on
line diff
--- a/rogue3/mdport.h	Thu Jan 21 21:10:23 2016 -0500
+++ b/rogue3/mdport.h	Fri Jan 22 19:19:48 2016 -0500
@@ -187,6 +187,8 @@
 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);