summaryrefslogtreecommitdiff
path: root/inffast.c
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 /inffast.c
parente88676a00e1445e3ff30428e8fd16287896c989a (diff)
Remove FAR definition
Remove a few leftovers from the legacy OS support removal
Diffstat (limited to 'inffast.c')
-rw-r--r--inffast.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/inffast.c b/inffast.c
index bda59ce..a3200f3 100644
--- a/inffast.c
+++ b/inffast.c
@@ -68,23 +68,23 @@ void ZLIB_INTERNAL inflate_fast(strm, start)
z_streamp strm;
unsigned start; /* inflate()'s starting value for strm->avail_out */
{
- struct inflate_state FAR *state;
- z_const unsigned char FAR *in; /* local strm->next_in */
- z_const unsigned char FAR *last; /* have enough input while in < last */
- unsigned char FAR *out; /* local strm->next_out */
- unsigned char FAR *beg; /* inflate()'s initial strm->next_out */
- unsigned char FAR *end; /* while out < end, enough space available */
+ struct inflate_state *state;
+ z_const unsigned char *in; /* local strm->next_in */
+ z_const unsigned char *last; /* have enough input while in < last */
+ unsigned char *out; /* local strm->next_out */
+ unsigned char *beg; /* inflate()'s initial strm->next_out */
+ unsigned char *end; /* while out < end, enough space available */
#ifdef INFLATE_STRICT
unsigned dmax; /* maximum distance from zlib header */
#endif
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 wsize != 0 */
+ unsigned char *window; /* allocated sliding window, if wsize != 0 */
unsigned long hold; /* local strm->hold */
unsigned bits; /* local strm->bits */
- code const FAR *lcode; /* local strm->lencode */
- code const FAR *dcode; /* local strm->distcode */
+ code const *lcode; /* local strm->lencode */
+ code const *dcode; /* local strm->distcode */
unsigned lmask; /* mask for first level of length codes */
unsigned dmask; /* mask for first level of distance codes */
code here; /* retrieved table entry */
@@ -92,10 +92,10 @@ unsigned start; /* inflate()'s starting value for strm->avail_out */
/* window position, window bytes to copy */
unsigned len; /* match length, unused bytes */
unsigned dist; /* match distance */
- unsigned char FAR *from; /* where to copy match from */
+ unsigned char *from; /* where to copy match from */
/* copy state to local variables */
- state = (struct inflate_state FAR *)strm->state;
+ state = (struct inflate_state *)strm->state;
in = strm->next_in - OFF;
last = in + (strm->avail_in - 5);
out = strm->next_out - OFF;