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/sync.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/sync.c')
| -rw-r--r-- | sail/sync.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sail/sync.c b/sail/sync.c index 144f25e7..d793aac5 100644 --- a/sail/sync.c +++ b/sail/sync.c @@ -1,4 +1,4 @@ -/* $NetBSD: sync.c,v 1.17 2001/01/04 03:21:17 jwise Exp $ */ +/* $NetBSD: sync.c,v 1.18 2001/01/04 03:51:24 jwise Exp $ */ /* * Copyright (c) 1983, 1993 @@ -38,15 +38,17 @@ #if 0 static char sccsid[] = "@(#)sync.c 8.2 (Berkeley) 4/28/95"; #else -__RCSID("$NetBSD: sync.c,v 1.17 2001/01/04 03:21:17 jwise Exp $"); +__RCSID("$NetBSD: sync.c,v 1.18 2001/01/04 03:51:24 jwise Exp $"); #endif #endif /* not lint */ #include <fcntl.h> #include <errno.h> +#include <signal.h> #include <stdarg.h> #include <stdio.h> #include <stdlib.h> +#include <string.h> #include <time.h> #include <unistd.h> #include "extern.h" |
