diff options
author | Hans Kristian Rosbach <hk-git@circlestorm.org> | 2015-04-26 21:31:49 +0200 |
---|---|---|
committer | Hans Kristian Rosbach <hk-git@circlestorm.org> | 2015-04-26 21:31:49 +0200 |
commit | 33e9bf680a3ec6c826fd6c1572bb54451bd52c33 (patch) | |
tree | c588a848af263af7f03bd75d49fa27ce1625d32a /gzread.c | |
parent | 429cebfd68ee7615123653e64ce18de6f499030f (diff) |
Cleanup: Replace 'z_streamp' with 'z_stream *'
Diffstat (limited to 'gzread.c')
-rw-r--r-- | gzread.c | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -47,7 +47,7 @@ local int gz_load(gz_statep state, unsigned char *buf, unsigned len, unsigned *h local int gz_avail(gz_statep state) { unsigned got; - z_streamp strm = &(state->strm); + z_stream *strm = &(state->strm); if (state->err != Z_OK && state->err != Z_BUF_ERROR) return -1; @@ -80,7 +80,7 @@ local int gz_avail(gz_statep state) gz_look() will return 0 on success or -1 on failure. */ local int gz_look(gz_statep state) { - z_streamp strm = &(state->strm); + z_stream *strm = &(state->strm); /* allocate read buffers and inflate memory */ if (state->size == 0) { @@ -167,7 +167,7 @@ local int gz_decomp(gz_statep state) { int ret = Z_OK; unsigned had; - z_streamp strm = &(state->strm); + z_stream *strm = &(state->strm); /* fill output buffer up to end of deflate stream */ had = strm->avail_out; @@ -218,7 +218,7 @@ local int gz_decomp(gz_statep state) end of the input file has been reached and all data has been processed. */ local int gz_fetch(gz_statep state) { - z_streamp strm = &(state->strm); + z_stream *strm = &(state->strm); do { switch(state->how) { @@ -282,7 +282,7 @@ int ZEXPORT gzread(file, buf, len) { unsigned got, n; gz_statep state; - z_streamp strm; + z_stream *strm; /* get internal structure */ if (file == NULL) |