summaryrefslogtreecommitdiffstats
path: root/sail/dr_1.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/dr_1.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/dr_1.c')
-rw-r--r--sail/dr_1.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/sail/dr_1.c b/sail/dr_1.c
index 6106190d..7fa015ee 100644
--- a/sail/dr_1.c
+++ b/sail/dr_1.c
@@ -1,4 +1,4 @@
-/* $NetBSD: dr_1.c,v 1.14 2001/01/04 03:21:16 jwise Exp $ */
+/* $NetBSD: dr_1.c,v 1.15 2001/01/04 03:51:23 jwise Exp $ */
/*
* Copyright (c) 1983, 1993
@@ -38,12 +38,14 @@
#if 0
static char sccsid[] = "@(#)dr_1.c 8.1 (Berkeley) 5/31/93";
#else
-__RCSID("$NetBSD: dr_1.c,v 1.14 2001/01/04 03:21:16 jwise Exp $");
+__RCSID("$NetBSD: dr_1.c,v 1.15 2001/01/04 03:51:23 jwise Exp $");
#endif
#endif /* not lint */
+#include <ctype.h>
#include <stdio.h>
#include <stdlib.h>
+#include <string.h>
#include "extern.h"
#include "driver.h"