]> skyeroc.xyz Git - dgamelaunch/commitdiff
caught_sighup has no real purpose, get rid of it
authorJoshua Kwan <joshk@triplehelix.org>
Fri, 2 Jan 2004 06:15:30 +0000 (06:15 +0000)
committerJoshua Kwan <joshk@triplehelix.org>
Fri, 2 Jan 2004 06:15:30 +0000 (06:15 +0000)
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@36 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

dgamelaunch.c
ttyplay.c
ttyrec.c

index fb3d6f876716c1e3223d46e28d483a3c5ea75fc9..8d1d95245b66ebc232a75b5a1ad7f046b246d68d 100644 (file)
@@ -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);
index 48f5780136a7b0d39fef92de5722da778581b454..c920148e9ee35bbc27d7b98c7d5834bf732674c2 100644 (file)
--- 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;
index 7b07634208035626cc961dd606cc329ff141bf59..4fd69d090ce43ae6879436580ebf294a95974132 100644 (file)
--- 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);