From d829ac26e29617c6f8331ee4db7fe6108b0f3355 Mon Sep 17 00:00:00 2001 From: Joshua Kwan Date: Fri, 2 Jan 2004 06:15:30 +0000 Subject: [PATCH] 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 --- dgamelaunch.c | 2 -- ttyplay.c | 1 - ttyrec.c | 1 - 3 files changed, 4 deletions(-) diff --git a/dgamelaunch.c b/dgamelaunch.c index fb3d6f8..8d1d952 100644 --- a/dgamelaunch.c +++ b/dgamelaunch.c @@ -72,7 +72,6 @@ extern struct winsize win; /* global variables */ -int caught_sighup = 0; int pid_game = 0; int loggedin = 0; char rcfilename[80]; @@ -135,7 +134,6 @@ gen_inprogress_lock () void catch_sighup (int signum) { - caught_sighup = 1; if (pid_game) { sleep (10); diff --git a/ttyplay.c b/ttyplay.c index 48f5780..c920148 100644 --- a/ttyplay.c +++ b/ttyplay.c @@ -52,7 +52,6 @@ extern int loggedin; int ttyplay_main (char *ttyfile, int mode, int rstripgfx); -extern int caught_sighup; off_t seek_offset_clrscr; int bstripgfx; char *ttyfile_local; diff --git a/ttyrec.c b/ttyrec.c index 7b07634..4fd69d0 100644 --- a/ttyrec.c +++ b/ttyrec.c @@ -74,7 +74,6 @@ #define CDEL _POSIX_VDISABLE extern char ttyrec_filename[100]; -extern int caught_sighup; extern int pid_game; void done (void);