summaryrefslogtreecommitdiffstats
path: root/atc/update.c
diff options
context:
space:
mode:
authormycroft <mycroft@NetBSD.org>1995-04-27 21:22:19 +0000
committermycroft <mycroft@NetBSD.org>1995-04-27 21:22:19 +0000
commit3e95714e815457b8e2c95138f9242701e3c08434 (patch)
treec2402f388750a4900ace82a944c066039d54afa1 /atc/update.c
parenta65a873e56c35780711e9f73872c4fe0254589b0 (diff)
downloadbsdgames-darwin-3e95714e815457b8e2c95138f9242701e3c08434.tar.gz
bsdgames-darwin-3e95714e815457b8e2c95138f9242701e3c08434.tar.zst
bsdgames-darwin-3e95714e815457b8e2c95138f9242701e3c08434.zip
Use POSIX signal and tty semantics.
Diffstat (limited to 'atc/update.c')
-rw-r--r--atc/update.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/atc/update.c b/atc/update.c
index cc2f85c5..9fdc32b1 100644
--- a/atc/update.c
+++ b/atc/update.c
@@ -1,4 +1,4 @@
-/* $NetBSD: update.c,v 1.3 1995/03/21 15:04:37 cgd Exp $ */
+/* $NetBSD: update.c,v 1.4 1995/04/27 21:22:26 mycroft Exp $ */
/*-
* Copyright (c) 1990, 1993
@@ -49,7 +49,7 @@
#if 0
static char sccsid[] = "@(#)update.c 8.1 (Berkeley) 5/31/93";
#else
-static char rcsid[] = "$NetBSD: update.c,v 1.3 1995/03/21 15:04:37 cgd Exp $";
+static char rcsid[] = "$NetBSD: update.c,v 1.4 1995/04/27 21:22:26 mycroft Exp $";
#endif
#endif not lint
@@ -60,9 +60,6 @@ update()
int i, dir_diff, mask, unclean;
PLANE *pp, *p1, *p2, *p;
-#ifdef BSD
- mask = sigblock(sigmask(SIGINT));
-#endif
#ifdef SYSV
alarm(0);
signal(SIGALRM, update);
@@ -217,9 +214,6 @@ update()
if ((rand() % sp->newplane_time) == 0)
addplane();
-#ifdef BSD
- sigsetmask(mask);
-#endif
#ifdef SYSV
alarm(sp->update_secs);
#endif