mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 03:52:35 +01:00
azio.c, azlib.h:
Don't use typedef 'voidpc' as later addition and not needed storage/archive/azlib.h: Don't use typedef 'voidpc' as later addition and not needed storage/archive/azio.c: Don't use typedef 'voidpc' as later addition and not needed
This commit is contained in:
parent
5fb2bdd719
commit
f571ae9bf2
2 changed files with 2 additions and 2 deletions
|
@ -510,7 +510,7 @@ unsigned int ZEXPORT azread ( azio_stream *s, voidp buf, unsigned int len, int *
|
|||
Writes the given number of uncompressed bytes into the compressed file.
|
||||
azwrite returns the number of bytes actually written (0 in case of error).
|
||||
*/
|
||||
unsigned int azwrite (azio_stream *s, voidpc buf, unsigned int len)
|
||||
unsigned int azwrite (azio_stream *s, const voidp buf, unsigned int len)
|
||||
{
|
||||
s->stream.next_in = (Bytef*)buf;
|
||||
s->stream.avail_in = len;
|
||||
|
|
|
@ -273,7 +273,7 @@ extern unsigned int azread ( azio_stream *s, voidp buf, unsigned int len, int *e
|
|||
gzread returns the number of uncompressed bytes actually read (0 for
|
||||
end of file, -1 for error). */
|
||||
|
||||
extern unsigned int azwrite (azio_stream *s, voidpc buf, unsigned int len);
|
||||
extern unsigned int azwrite (azio_stream *s, const voidp buf, unsigned int len);
|
||||
/*
|
||||
Writes the given number of uncompressed bytes into the compressed file.
|
||||
azwrite returns the number of uncompressed bytes actually written
|
||||
|
|
Loading…
Reference in a new issue