Mercurial > hg > early-roguelike
comparison 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 |
comparison
equal
deleted
inserted
replaced
| 211:382ff498acdd | 212:12e070d1a780 |
|---|---|
| 185 void md_onsignal_autosave(void); | 185 void md_onsignal_autosave(void); |
| 186 void md_onsignal_exit(void); | 186 void md_onsignal_exit(void); |
| 187 void md_onsignal_default(void); | 187 void md_onsignal_default(void); |
| 188 int md_issymlink(char *sp); | 188 int md_issymlink(char *sp); |
| 189 int md_loadav(double *avg); | 189 int md_loadav(double *avg); |
| 190 void md_start_checkout_timer(int time); | |
| 191 void md_stop_checkout_timer(void); | |
| 190 long md_memused(void); | 192 long md_memused(void); |
| 191 int md_ucount(void); | 193 int md_ucount(void); |
| 192 int md_unlockfile(FILE *fp); | 194 int md_unlockfile(FILE *fp); |
| 193 int md_lockfile(FILE *fp); | 195 int md_lockfile(FILE *fp); |
