diff options
author | Geoff Rehmet <csgr@FreeBSD.org> | 1994-10-11 11:29:17 +0000 |
---|---|---|
committer | Geoff Rehmet <csgr@FreeBSD.org> | 1994-10-11 11:29:17 +0000 |
commit | 65bbec73d7f78fedcaf2b2b438517c42f2baf9dd (patch) | |
tree | a58cbe88dd10332fd20ad8da27fdc68d8b9b06d0 /sys/kern/imgact_gzip.c | |
parent | f665d68d0423089a43747e22cc474e2a4dd5adff (diff) | |
download | src-65bbec73d7f78fedcaf2b2b438517c42f2baf9dd.tar.gz src-65bbec73d7f78fedcaf2b2b438517c42f2baf9dd.zip |
- remove unnecessary #includes (I think a couple of redundant ones remain)
- excise some unused code (#if 0'd out - don't want to nuke it yet)
- fix problems with "make depend" - some macros were screwing it up
- get rid of some static local variables
There still seems to be a small reentrancy problem somewhere.
Notes
Notes:
svn path=/head/; revision=3507
Diffstat (limited to 'sys/kern/imgact_gzip.c')
-rw-r--r-- | sys/kern/imgact_gzip.c | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/sys/kern/imgact_gzip.c b/sys/kern/imgact_gzip.c index 270daae5b45c..b18ce70f2825 100644 --- a/sys/kern/imgact_gzip.c +++ b/sys/kern/imgact_gzip.c @@ -7,7 +7,7 @@ * this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp * ---------------------------------------------------------------------------- * - * $Id: imgact_gzip.c,v 1.4 1994/10/04 06:51:42 phk Exp $ + * $Id: imgact_gzip.c,v 1.7 1994/10/07 22:26:51 csgr Exp $ * * This module handles execution of a.out files which have been run through * "gzip -9". @@ -26,17 +26,19 @@ * tidy up unnecesary includes */ -#include <sys/param.h> -#include <sys/systm.h> -#include <sys/resourcevar.h> + +#include <sys/param.h> /* some header file needs this first foo! */ + #include <sys/exec.h> -#include <sys/inflate.h> -#include <sys/mman.h> -#include <sys/malloc.h> #include <sys/imgact.h> #include <sys/imgact_aout.h> +#include <sys/inflate.h> #include <sys/kernel.h> +#include <sys/malloc.h> +#include <sys/mman.h> +#include <sys/resourcevar.h> #include <sys/sysent.h> +#include <sys/systm.h> #include <vm/vm.h> #include <vm/vm_kern.h> |