summaryrefslogtreecommitdiff
path: root/sys/kern/inflate.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/kern/inflate.c')
-rw-r--r--sys/kern/inflate.c11
1 files changed, 3 insertions, 8 deletions
diff --git a/sys/kern/inflate.c b/sys/kern/inflate.c
index 1db9b2c99642a..4558eb3519bdc 100644
--- a/sys/kern/inflate.c
+++ b/sys/kern/inflate.c
@@ -7,7 +7,7 @@
* this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp
* ----------------------------------------------------------------------------
*
- * $Id: inflate.c,v 1.11 1997/10/12 20:23:40 phk Exp $
+ * $Id: inflate.c,v 1.10 1997/10/11 18:31:20 phk Exp $
*
*
*/
@@ -16,13 +16,10 @@
#include <sys/inflate.h>
#ifdef KERNEL
#include <sys/systm.h>
-#include <sys/kernel.h>
#endif
#include <sys/malloc.h>
-#ifdef KERNEL
static MALLOC_DEFINE(M_GZIP, "Gzip trees", "Gzip trees");
-#endif
/* needed to make inflate() work */
#define uch u_char
@@ -50,10 +47,8 @@ extern void putstr (char *);
static const int qflag = 0;
#ifndef KERNEL /* want to use this file in kzip also */
-extern unsigned char *kzipmalloc (int);
-extern void kzipfree (void*);
-#define malloc(x, y, z) kzipmalloc((x))
-#define free(x, y) kzipfree((x))
+extern unsigned char *malloc (int, int, int);
+extern void free (void*, int);
#endif
/*