aboutsummaryrefslogtreecommitdiff
path: root/dep/src/zlib/gzio.c
diff options
context:
space:
mode:
Diffstat (limited to 'dep/src/zlib/gzio.c')
-rw-r--r--dep/src/zlib/gzio.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/dep/src/zlib/gzio.c b/dep/src/zlib/gzio.c
index 7e90f4928fc..64dcae88107 100644
--- a/dep/src/zlib/gzio.c
+++ b/dep/src/zlib/gzio.c
@@ -72,7 +72,6 @@ typedef struct gz_stream {
int last; /* true if push-back is last character */
} gz_stream;
-
local gzFile gz_open OF((const char *path, const char *mode, int fd));
local int do_flush OF((gzFile file, int flush));
local int get_byte OF((gz_stream *s));
@@ -495,7 +494,6 @@ int ZEXPORT gzread (file, buf, len)
return (int)(len - s->stream.avail_out);
}
-
/* ===========================================================================
Reads one byte from the compressed file. gzgetc returns this byte
or -1 in case of end of file or error.
@@ -508,7 +506,6 @@ int ZEXPORT gzgetc(file)
return gzread(file, &c, 1) == 1 ? c : -1;
}
-
/* ===========================================================================
Push one byte back onto the stream.
*/
@@ -527,7 +524,6 @@ int ZEXPORT gzungetc(c, file)
return c;
}
-
/* ===========================================================================
Reads bytes from the compressed file until len-1 characters are
read, or a newline character is read and transferred to buf, or an
@@ -550,7 +546,6 @@ char * ZEXPORT gzgets(file, buf, len)
return b == buf && len > 0 ? Z_NULL : b;
}
-
#ifndef NO_GZCOMPRESS
/* ===========================================================================
Writes the given number of uncompressed bytes into the compressed file.
@@ -591,7 +586,6 @@ int ZEXPORT gzwrite (file, buf, len)
return (int)(len - s->stream.avail_in);
}
-
/* ===========================================================================
Converts, formats, and writes the args to the compressed file under
control of the format string, as in fprintf. gzprintf returns the number of
@@ -684,7 +678,6 @@ int ZEXPORT gzputc(file, c)
return gzwrite(file, &cc, 1) == 1 ? (int)cc : -1;
}
-
/* ===========================================================================
Writes the given null-terminated string to the compressed file, excluding
the terminating null character.
@@ -697,7 +690,6 @@ int ZEXPORT gzputs(file, s)
return gzwrite(file, (char*)s, (unsigned)strlen(s));
}
-
/* ===========================================================================
Flushes all pending output into the compressed file. The parameter
flush is as in the deflate() function.
@@ -714,7 +706,7 @@ local int do_flush (file, flush)
s->stream.avail_in = 0; /* should be zero already anyway */
- for (;;) {
+ for (; ; ) {
len = Z_BUFSIZE - s->stream.avail_out;
if (len != 0) {