From a5773513942b1c57d0eff51fcb2ebac72796ed95 Mon Sep 17 00:00:00 2001 From: Mark Adler Date: Thu, 12 Oct 2017 20:03:51 -0700 Subject: Make the names in functions declarations identical to definitions. --- gzwrite.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'gzwrite.c') diff --git a/gzwrite.c b/gzwrite.c index 26e89b6..5238133 100644 --- a/gzwrite.c +++ b/gzwrite.c @@ -349,9 +349,9 @@ int ZEXPORT gzputc(file, c) } /* -- see zlib.h -- */ -int ZEXPORT gzputs(file, str) +int ZEXPORT gzputs(file, s) gzFile file; - const char *str; + const char *s; { z_size_t len, put; gz_statep state; @@ -366,12 +366,12 @@ int ZEXPORT gzputs(file, str) return -1; /* write string */ - len = strlen(str); + len = strlen(s); if ((int)len < 0 || (unsigned)len != len) { gz_error(state, Z_STREAM_ERROR, "string length does not fit in int"); return -1; } - put = gz_write(state, str, len); + put = gz_write(state, s, len); return put < len ? -1 : (int)len; } -- cgit v1.2.3-55-g6feb