diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 1997-01-23 08:48:46 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 1997-01-23 08:48:46 +0000 |
commit | 5698b36e21c8b7a4f977cf434c8c491e3c7f2d96 (patch) | |
tree | 3819d06b14512a337be8d00d8acd56f796b3c0a1 /sys/net/zlib.c | |
parent | 3d90d941aeca1464770b060c933450a774164a45 (diff) |
add NO_DEFLATE condition to be used in /boot
Diffstat (limited to 'sys/net/zlib.c')
-rw-r--r-- | sys/net/zlib.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/net/zlib.c b/sys/net/zlib.c index 00b5f688517..5f087a54b40 100644 --- a/sys/net/zlib.c +++ b/sys/net/zlib.c @@ -137,6 +137,8 @@ typedef uLong (*check_func) OF((uLong check, Bytef *buf, uInt len)); (*((strm)->zfree))((strm)->opaque, (voidpf)(addr), (size)) #define TRY_FREE(s, p, n) {if (p) ZFREE(s, p, n);} +#ifndef NO_DEFLATE + /* deflate.h -- internal compression state * Copyright (C) 1995 Jean-loup Gailly * For conditions of distribution and use, see copyright notice in zlib.h @@ -422,7 +424,6 @@ local void ct_stored_block OF((deflate_state *s, charf *buf, ulg stored_len, int eof)); local void ct_stored_type_only OF((deflate_state *s)); - /*+++++*/ /* deflate.c -- compress data using the deflation algorithm * Copyright (C) 1995 Jean-loup Gailly. @@ -2602,7 +2603,7 @@ local void copy_block(s, buf, len, header) put_byte(s, *buf++); } } - +#endif /* NO_DEFLATE */ /*+++++*/ /* infblock.h -- header to use infblock.c |