Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
76c99a07
Commit
76c99a07
authored
Sep 07, 2007
by
kent/mysqldev@mysql.com/production.mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
azio.c, azlib.h:
Don't use typedef 'voidpc' as later addition and not needed
parent
805511a3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
storage/archive/azio.c
storage/archive/azio.c
+1
-1
storage/archive/azlib.h
storage/archive/azlib.h
+1
-1
No files found.
storage/archive/azio.c
View file @
76c99a07
...
@@ -510,7 +510,7 @@ unsigned int ZEXPORT azread ( azio_stream *s, voidp buf, unsigned int len, int *
...
@@ -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.
Writes the given number of uncompressed bytes into the compressed file.
azwrite returns the number of bytes actually written (0 in case of error).
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
.
next_in
=
(
Bytef
*
)
buf
;
s
->
stream
.
avail_in
=
len
;
s
->
stream
.
avail_in
=
len
;
...
...
storage/archive/azlib.h
View file @
76c99a07
...
@@ -273,7 +273,7 @@ extern unsigned int azread ( azio_stream *s, voidp buf, unsigned int len, int *e
...
@@ -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
gzread returns the number of uncompressed bytes actually read (0 for
end of file, -1 for error). */
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.
Writes the given number of uncompressed bytes into the compressed file.
azwrite returns the number of uncompressed bytes actually written
azwrite returns the number of uncompressed bytes actually written
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment