aboutsummaryrefslogtreecommitdiff
path: root/sys/kern/imgact_gzip.c
diff options
context:
space:
mode:
authorBruce Evans <bde@FreeBSD.org>1995-12-02 16:32:03 +0000
committerBruce Evans <bde@FreeBSD.org>1995-12-02 16:32:03 +0000
commit7ee050b70cacf1911914bfcc5ae1fe0bbc8c37be (patch)
tree922794162d1c9c536a1c4167f638a62ecf94053a /sys/kern/imgact_gzip.c
parentee0bc7c3997c6f385f3389fb7bceb954cd130973 (diff)
downloadsrc-7ee050b70cacf1911914bfcc5ae1fe0bbc8c37be.tar.gz
src-7ee050b70cacf1911914bfcc5ae1fe0bbc8c37be.zip
Staticized.
Added prototypes.
Notes
Notes: svn path=/head/; revision=12568
Diffstat (limited to 'sys/kern/imgact_gzip.c')
-rw-r--r--sys/kern/imgact_gzip.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/kern/imgact_gzip.c b/sys/kern/imgact_gzip.c
index 7fba9b9f0ecd..792f8d6798e6 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;
{