Commit 18234c8b authored by Steven Cole's avatar Steven Cole Committed by Linus Torvalds

[PATCH] Two more sources of "non-ANSI parameter list" warnings

This removes the last sources of "non-ANSI parameter list" warnings for
zlib_deflate.
parent 5b29b6f3
...@@ -872,8 +872,9 @@ static void check_match( ...@@ -872,8 +872,9 @@ static void check_match(
* performed for at least two bytes (required for the zip translate_eol * performed for at least two bytes (required for the zip translate_eol
* option -- not supported here). * option -- not supported here).
*/ */
static void fill_window(s) static void fill_window(
deflate_state *s; deflate_state *s
)
{ {
register unsigned n, m; register unsigned n, m;
register Pos *p; register Pos *p;
...@@ -1261,7 +1262,7 @@ static block_state deflate_slow( ...@@ -1261,7 +1262,7 @@ static block_state deflate_slow(
return flush == Z_FINISH ? finish_done : block_done; return flush == Z_FINISH ? finish_done : block_done;
} }
extern int zlib_deflate_workspacesize () extern int zlib_deflate_workspacesize(void)
{ {
return sizeof(deflate_workspace); return sizeof(deflate_workspace);
} }
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment