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/extern.h | |
| 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/extern.h')
| -rw-r--r-- | sail/extern.h | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/sail/extern.h b/sail/extern.h index 987e2a1f..a7b68357 100644 --- a/sail/extern.h +++ b/sail/extern.h @@ -1,4 +1,4 @@ -/* $NetBSD: extern.h,v 1.21 2001/01/04 02:43:32 jwise Exp $ */ +/* $NetBSD: extern.h,v 1.22 2001/01/04 03:51:24 jwise Exp $ */ /* * Copyright (c) 1983, 1993 @@ -35,17 +35,10 @@ * @(#)externs.h 8.1 (Berkeley) 5/31/93 */ -#include <stdio.h> -#include <signal.h> -#include <string.h> -#include <ctype.h> -#include <setjmp.h> -#include <sys/types.h> #include "machdep.h" /* program mode */ extern int mode; -extern jmp_buf restart; #define MODE_PLAYER 1 #define MODE_DRIVER 2 #define MODE_LOGGER 3 |
