summaryrefslogtreecommitdiff
path: root/inflate.h
diff options
context:
space:
mode:
authorhansr <hk-git@circlestorm.org>2014-10-09 13:55:20 +0200
committerhansr <hk-git@circlestorm.org>2014-10-09 13:55:20 +0200
commit0db1040667b13c0f9405af810f669857a487b08e (patch)
treec34690bf413bc7a5ffc807390ca3e7f435831879 /inflate.h
parente88676a00e1445e3ff30428e8fd16287896c989a (diff)
Remove FAR definition
Remove a few leftovers from the legacy OS support removal
Diffstat (limited to 'inflate.h')
-rw-r--r--inflate.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/inflate.h b/inflate.h
index 95f4986..dbd26f0 100644
--- a/inflate.h
+++ b/inflate.h
@@ -93,7 +93,7 @@ struct inflate_state {
unsigned wsize; /* window size or zero if not using window */
unsigned whave; /* valid bytes in the window */
unsigned wnext; /* window write index */
- unsigned char FAR *window; /* allocated sliding window, if needed */
+ unsigned char *window; /* allocated sliding window, if needed */
/* bit accumulator */
unsigned long hold; /* input bit accumulator */
unsigned bits; /* number of bits in "in" */
@@ -103,8 +103,8 @@ struct inflate_state {
/* for table and code decoding */
unsigned extra; /* extra bits needed */
/* fixed and dynamic code tables */
- code const FAR *lencode; /* starting table for length/literal codes */
- code const FAR *distcode; /* starting table for distance codes */
+ code const *lencode; /* starting table for length/literal codes */
+ code const *distcode; /* starting table for distance codes */
unsigned lenbits; /* index bits for lencode */
unsigned distbits; /* index bits for distcode */
/* dynamic table building */
@@ -112,7 +112,7 @@ struct inflate_state {
unsigned nlen; /* number of length code lengths */
unsigned ndist; /* number of distance code lengths */
unsigned have; /* number of code lengths in lens[] */
- code FAR *next; /* next available space in codes[] */
+ code *next; /* next available space in codes[] */
unsigned short lens[320]; /* temporary storage for code lengths */
unsigned short work[288]; /* work area for code table building */
code codes[ENOUGH]; /* space for code tables */