summaryrefslogtreecommitdiffstats
path: root/sail/main.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/main.c
parentcc53fc319970619b25fdfa3545d62eab5ffa55dd (diff)
downloadbsdgames-darwin-c8a08e056ff2a0f7268ba7df647b69afcc26d11e.tar.gz
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/main.c')
-rw-r--r--sail/main.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/sail/main.c b/sail/main.c
index fff86df2..e824acd7 100644
--- a/sail/main.c
+++ b/sail/main.c
@@ -1,4 +1,4 @@
-/* $NetBSD: main.c,v 1.18 2001/01/04 03:21:17 jwise Exp $ */
+/* $NetBSD: main.c,v 1.19 2001/01/04 03:51:24 jwise Exp $ */
/*
* Copyright (c) 1983, 1993
@@ -43,15 +43,18 @@ __COPYRIGHT("@(#) Copyright (c) 1983, 1993\n\
#if 0
static char sccsid[] = "@(#)main.c 8.2 (Berkeley) 4/28/95";
#else
-__RCSID("$NetBSD: main.c,v 1.18 2001/01/04 03:21:17 jwise Exp $");
+__RCSID("$NetBSD: main.c,v 1.19 2001/01/04 03:51:24 jwise Exp $");
#endif
#endif /* not lint */
#include <fcntl.h>
+#include <setjmp.h>
#include <stdio.h>
#include <stdlib.h>
+#include <string.h>
#include <unistd.h>
#include "extern.h"
+#include "restart.h"
int
main(int argc, char **argv)