diff options
| author | jwise <jwise@NetBSD.org> | 2001-01-04 03:51:23 +0000 |
|---|---|---|
| committer | jwise <jwise@NetBSD.org> | 2001-01-04 03:51:23 +0000 |
| commit | c8a08e056ff2a0f7268ba7df647b69afcc26d11e (patch) | |
| tree | 8961cddc6cb35f3bdb342820e519a4dec9fb9d9c /sail/main.c | |
| parent | cc53fc319970619b25fdfa3545d62eab5ffa55dd (diff) | |
| download | bsdgames-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.c | 7 |
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) |
