X-Git-Url: https://git.cameronkatri.com/bsdgames-darwin.git/blobdiff_plain/462fca95471224f85b85be911e72faee16cd1597..b964c1a1ab288ba8850526062ae07b7cbae63403:/atc/update.c diff --git a/atc/update.c b/atc/update.c index b5feab5f..9fdc32b1 100644 --- a/atc/update.c +++ b/atc/update.c @@ -1,6 +1,8 @@ +/* $NetBSD: update.c,v 1.4 1995/04/27 21:22:26 mycroft Exp $ */ + /*- - * Copyright (c) 1990 The Regents of the University of California. - * All rights reserved. + * Copyright (c) 1990, 1993 + * The Regents of the University of California. All rights reserved. * * This code is derived from software contributed to Berkeley by * Ed James. @@ -44,8 +46,11 @@ */ #ifndef lint -/*static char sccsid[] = "from: @(#)update.c 5.5 (Berkeley) 10/30/90";*/ -static char rcsid[] = "$Id: update.c,v 1.2 1993/08/01 18:57:02 mycroft Exp $"; +#if 0 +static char sccsid[] = "@(#)update.c 8.1 (Berkeley) 5/31/93"; +#else +static char rcsid[] = "$NetBSD: update.c,v 1.4 1995/04/27 21:22:26 mycroft Exp $"; +#endif #endif not lint #include "include.h" @@ -55,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); @@ -212,9 +214,6 @@ update() if ((rand() % sp->newplane_time) == 0) addplane(); -#ifdef BSD - sigsetmask(mask); -#endif #ifdef SYSV alarm(sp->update_secs); #endif