diff options
author | bde <bde@FreeBSD.org> | 1995-12-02 16:32:03 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1995-12-02 16:32:03 +0000 |
commit | 5f43488dec8aabd1cd70951ccc1cbc31b2640ef2 (patch) | |
tree | 922794162d1c9c536a1c4167f638a62ecf94053a /sys/kern/imgact_gzip.c | |
parent | d777ddd2a9c4077204f56d5025b3adfddaff5d0b (diff) | |
download | FreeBSD-src-5f43488dec8aabd1cd70951ccc1cbc31b2640ef2.zip FreeBSD-src-5f43488dec8aabd1cd70951ccc1cbc31b2640ef2.tar.gz |
Staticized.
Added prototypes.
Diffstat (limited to 'sys/kern/imgact_gzip.c')
-rw-r--r-- | sys/kern/imgact_gzip.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/kern/imgact_gzip.c b/sys/kern/imgact_gzip.c index 7fba9b9..792f8d6 100644 --- a/sys/kern/imgact_gzip.c +++ b/sys/kern/imgact_gzip.c @@ -6,7 +6,7 @@ * this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp * ---------------------------------------------------------------------------- * - * $Id: imgact_gzip.c,v 1.14 1995/05/30 08:05:18 rgrimes Exp $ + * $Id: imgact_gzip.c,v 1.15 1995/11/06 12:52:30 davidg Exp $ * * This module handles execution of a.out files which have been run through * "gzip". This saves diskspace, but wastes cpu-cycles and VM. @@ -48,11 +48,12 @@ struct imgact_gzip { u_long virtual_offset, file_offset, file_end, bss_size; }; +static int exec_gzip_imgact __P((struct image_params *imgp)); static int NextByte __P((void *vp)); static int do_aout_hdr __P((struct imgact_gzip *)); static int Flush __P((void *vp, u_char *, u_long siz)); -int +static int exec_gzip_imgact(imgp) struct image_params *imgp; { |