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/dr_5.c | |
parent | cc53fc319970619b25fdfa3545d62eab5ffa55dd (diff) | |
download | bsdgames-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_5.c')
-rw-r--r-- | sail/dr_5.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sail/dr_5.c b/sail/dr_5.c index 857f00dc..80a2b4db 100644 --- a/sail/dr_5.c +++ b/sail/dr_5.c @@ -1,4 +1,4 @@ -/* $NetBSD: dr_5.c,v 1.8 2001/01/04 01:53:24 jwise Exp $ */ +/* $NetBSD: dr_5.c,v 1.9 2001/01/04 03:51:23 jwise Exp $ */ /* * Copyright (c) 1983, 1993 @@ -38,10 +38,11 @@ #if 0 static char sccsid[] = "@(#)dr_5.c 8.2 (Berkeley) 4/28/95"; #else -__RCSID("$NetBSD: dr_5.c,v 1.8 2001/01/04 01:53:24 jwise Exp $"); +__RCSID("$NetBSD: dr_5.c,v 1.9 2001/01/04 03:51:23 jwise Exp $"); #endif #endif /* not lint */ +#include <sys/types.h> #include "extern.h" void subtract(struct ship *, int, int *, struct ship *, int); |