X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=zlib%2Fcontrib%2Finfback9%2Finfback9.c;h=05fb3e338070d67054858cd2fe469e3bbb2044a3;hb=da09a436519e8085d328a586c438b5b0a560924d;hp=7bbe90ced2ec5f1cdb99c7b1263b7f6faf3d16e2;hpb=74b03b91333ccbc8fa70647eca22062e902f797f;p=deliverable%2Fbinutils-gdb.git diff --git a/zlib/contrib/infback9/infback9.c b/zlib/contrib/infback9/infback9.c index 7bbe90ced2..05fb3e3380 100644 --- a/zlib/contrib/infback9/infback9.c +++ b/zlib/contrib/infback9/infback9.c @@ -222,14 +222,13 @@ out_func out; void FAR *out_desc; { struct inflate_state FAR *state; - unsigned char FAR *next; /* next input */ + z_const unsigned char FAR *next; /* next input */ unsigned char FAR *put; /* next output */ unsigned have; /* available input */ unsigned long left; /* available output */ inflate_mode mode; /* current inflate mode */ int lastblock; /* true if processing last block */ int wrap; /* true if the window has wrapped */ - unsigned long write; /* window write index */ unsigned char FAR *window; /* allocated sliding window, if needed */ unsigned long hold; /* bit buffer */ unsigned bits; /* bits in bit buffer */ @@ -259,7 +258,6 @@ void FAR *out_desc; strm->msg = Z_NULL; mode = TYPE; lastblock = 0; - write = 0; wrap = 0; window = state->window; next = strm->next_in;