Mercurial > hg > early-roguelike
comparison srogue/mdport.c @ 119:458df24e973d
srogue: use functions from mdport.c.
Shell escape, passwd entries, terminal settings, and most signal
handling is now done with the more portable md_* functions.
author | John "Elwin" Edwards |
---|---|
date | Wed, 30 Apr 2014 14:46:30 -0700 |
parents | 8d1dfc5a912c |
children | d6b7c3fb37ea |
comparison
equal
deleted
inserted
replaced
118:8d1dfc5a912c | 119:458df24e973d |
---|---|
207 #ifdef SIGSYS | 207 #ifdef SIGSYS |
208 signal(SIGSYS, exit); | 208 signal(SIGSYS, exit); |
209 #endif | 209 #endif |
210 #ifdef SIGTERM | 210 #ifdef SIGTERM |
211 signal(SIGTERM, exit); | 211 signal(SIGTERM, exit); |
212 #endif | |
213 #ifdef SIGINT | |
214 signal(SIGINT, exit); | |
212 #endif | 215 #endif |
213 } | 216 } |
214 | 217 |
215 extern void auto_save(int sig); | 218 extern void auto_save(int sig); |
216 extern void endit(int sig); | 219 extern void endit(int sig); |