mirror of
https://github.com/paxed/dgamelaunch.git
synced 2025-09-26 03:08:50 +02:00
caught_sighup has no real purpose, get rid of it
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@36 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
This commit is contained in:
parent
11282a35d6
commit
d829ac26e2
@ -72,7 +72,6 @@ extern struct winsize win;
|
|||||||
|
|
||||||
/* global variables */
|
/* global variables */
|
||||||
|
|
||||||
int caught_sighup = 0;
|
|
||||||
int pid_game = 0;
|
int pid_game = 0;
|
||||||
int loggedin = 0;
|
int loggedin = 0;
|
||||||
char rcfilename[80];
|
char rcfilename[80];
|
||||||
@ -135,7 +134,6 @@ gen_inprogress_lock ()
|
|||||||
void
|
void
|
||||||
catch_sighup (int signum)
|
catch_sighup (int signum)
|
||||||
{
|
{
|
||||||
caught_sighup = 1;
|
|
||||||
if (pid_game)
|
if (pid_game)
|
||||||
{
|
{
|
||||||
sleep (10);
|
sleep (10);
|
||||||
|
@ -52,7 +52,6 @@ extern int loggedin;
|
|||||||
|
|
||||||
int ttyplay_main (char *ttyfile, int mode, int rstripgfx);
|
int ttyplay_main (char *ttyfile, int mode, int rstripgfx);
|
||||||
|
|
||||||
extern int caught_sighup;
|
|
||||||
off_t seek_offset_clrscr;
|
off_t seek_offset_clrscr;
|
||||||
int bstripgfx;
|
int bstripgfx;
|
||||||
char *ttyfile_local;
|
char *ttyfile_local;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user