summaryrefslogtreecommitdiffstats
path: root/sail/globals.c
diff options
context:
space:
mode:
authorjwise <jwise@NetBSD.org>2001-01-04 03:51:23 +0000
committerjwise <jwise@NetBSD.org>2001-01-04 03:51:23 +0000
commitc8a08e056ff2a0f7268ba7df647b69afcc26d11e (patch)
tree8961cddc6cb35f3bdb342820e519a4dec9fb9d9c /sail/globals.c
parentcc53fc319970619b25fdfa3545d62eab5ffa55dd (diff)
downloadbsdgames-darwin-c8a08e056ff2a0f7268ba7df647b69afcc26d11e.tar.gz
bsdgames-darwin-c8a08e056ff2a0f7268ba7df647b69afcc26d11e.tar.zst
bsdgames-darwin-c8a08e056ff2a0f7268ba7df647b69afcc26d11e.zip
More rationalization of include files:
a.) Don't include a zillion system headers from "extern.h" (actually, don't include any). b.) Break a global jmp_buf variable into a new file, so <setjmp.h> doesn't have to be pulled in everywhere (it's only used in two places). The (one line) new file is (c) TNF with a three-clause license, FW(L)IW.
Diffstat (limited to 'sail/globals.c')
-rw-r--r--sail/globals.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/sail/globals.c b/sail/globals.c
index 26ee3026..1c1f41be 100644
--- a/sail/globals.c
+++ b/sail/globals.c
@@ -1,4 +1,4 @@
-/* $NetBSD: globals.c,v 1.10 2001/01/04 01:56:28 jwise Exp $ */
+/* $NetBSD: globals.c,v 1.11 2001/01/04 03:51:24 jwise Exp $ */
/*
* Copyright (c) 1983, 1993
@@ -38,10 +38,12 @@
#if 0
static char sccsid[] = "@(#)globals.c 8.2 (Berkeley) 4/28/95";
#else
-__RCSID("$NetBSD: globals.c,v 1.10 2001/01/04 01:56:28 jwise Exp $");
+__RCSID("$NetBSD: globals.c,v 1.11 2001/01/04 03:51:24 jwise Exp $");
#endif
#endif /* not lint */
+#include <sys/types.h>
+#include <setjmp.h>
#include "extern.h"
struct scenario scene[] = {