summaryrefslogtreecommitdiff
path: root/storage/archive/azlib.h
diff options
context:
space:
mode:
Diffstat (limited to 'storage/archive/azlib.h')
-rw-r--r--storage/archive/azlib.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/storage/archive/azlib.h b/storage/archive/azlib.h
index e63d1ed9997..7e20387ff0a 100644
--- a/storage/archive/azlib.h
+++ b/storage/archive/azlib.h
@@ -206,7 +206,7 @@ int azdopen(azio_stream *s,File fd, int Flags);
*/
-extern int azread(azio_stream *file, voidp buf, unsigned len);
+extern unsigned long azread ( azio_stream *s, voidp buf, unsigned long len, int *error);
/*
Reads the given number of uncompressed bytes from the compressed file.
If the input file was not in gzip format, gzread copies the given number
@@ -214,7 +214,7 @@ extern int azread(azio_stream *file, voidp buf, unsigned len);
gzread returns the number of uncompressed bytes actually read (0 for
end of file, -1 for error). */
-extern int azwrite (azio_stream *file, voidpc buf, unsigned len);
+extern unsigned long azwrite (azio_stream *s, voidpc buf, unsigned long len);
/*
Writes the given number of uncompressed bytes into the compressed file.
gzwrite returns the number of uncompressed bytes actually written