X-Git-Url: https://git.saurik.com/apple/boot.git/blobdiff_plain/14c7c974991c850bfa0348affbd4bee3223205ee..57c72a9a9f2a263d364c2df1178760bd057c390f:/gen/rcz/rcz_decompress_file.c diff --git a/gen/rcz/rcz_decompress_file.c b/gen/rcz/rcz_decompress_file.c index 0d947b0..d47abbd 100644 --- a/gen/rcz/rcz_decompress_file.c +++ b/gen/rcz/rcz_decompress_file.c @@ -31,13 +31,15 @@ */ -#import "rcz_common.h" - +#include "rcz_common.h" +#include +#include static unsigned short que[QLEN]; #define REWIND -1 -extern int read(int fd, char *buf, int len); +// extern int read(int fd, char *buf, int len); +extern int b_lseek(int fdesc, unsigned int addr, int ptr); static unsigned char *buf; static int buf_count; @@ -115,7 +117,7 @@ rcz_decompress_file( { unsigned int c, j, k, jmatch, jabove; int length; - unsigned int even_length, word, token, version; + unsigned int even_length, word, token; unsigned char *outorigin = out; length = rcz_file_size(in_fd);