From 6fa05f3d6704aee6ac6ca6d8cd721aef050251f3 Mon Sep 17 00:00:00 2001 From: nbd Date: Thu, 3 May 2007 16:42:37 +0000 Subject: nuke ar7-2.4 (old code, dsl driver no longer compiles, replaced by ar7-2.6) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7087 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/ar7-2.4/image/src/gzip.h | 51 ----------------------------------- 1 file changed, 51 deletions(-) delete mode 100644 target/linux/ar7-2.4/image/src/gzip.h (limited to 'target/linux/ar7-2.4/image/src/gzip.h') diff --git a/target/linux/ar7-2.4/image/src/gzip.h b/target/linux/ar7-2.4/image/src/gzip.h deleted file mode 100644 index 917e66655c..0000000000 --- a/target/linux/ar7-2.4/image/src/gzip.h +++ /dev/null @@ -1,51 +0,0 @@ -//bvb#include "timemmap.h" - -#define OF(args) args -#define STATIC static - -#define WSIZE 0x8000 /* Slideing window size (defined as var - * "window" below) must be at least 32k, - * and a power of two. This is the - * data work window used for input buffer - * by the input routine */ - -typedef unsigned char uch; -typedef unsigned short ush; -typedef unsigned long ulg; - - -static char *output_data; -static ulg output_ptr; - -#ifndef NULL -#define NULL 0 -#endif - -#define NOMEMCPY /* Does routine memcpy exist? */ - -//bvb static uch *inbuf; /* input buffer */ -static uch *window; - -//bvb static uch outwin[WSIZE]; - -//bvb static unsigned insize; /* valid bytes in inbuf */ -static unsigned inptr; /* index of next byte to process in inbuf */ - -static unsigned outcnt; /* bytes in output buffer */ - -/* gzip flag byte */ -#define ASCII_FLAG 0x01 /* bit 0 set: file probably ascii text */ -#define CONTINUATION 0x02 /* bit 1 set: continuation of multi-part gzip file */ -#define EXTRA_FIELD 0x04 /* bit 2 set: extra field present */ -#define ORIG_NAME 0x08 /* bit 3 set: original file name present */ -#define COMMENT 0x10 /* bit 4 set: file comment present */ -#define ENCRYPTED 0x20 /* bit 5 set: file is encrypted */ -#define RESERVED 0xC0 /* bit 6,7: reserved */ - -/* If BMAX needs to be larger than 16, then h and x[] should be ulg. */ -#define BMAX 16 /* maximum bit length of any code (16 for explode) */ -#define N_MAX 288 /* maximum number of codes in any set */ - -static char *input_data; - -static void *freememstart; -- cgit v1.2.3