Task #119447 - fixed.err
back to task #119447download
Error: COMPILER_WARNING (CWE-704):
rsync-3.4.1/access.c: scope_hint: In function ‘match_address’
rsync-3.4.1/access.c:120:11: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
# 120 | p = strchr(tok,'/');
# | ^
# 118| return 0;
# 119|
# 120|-> p = strchr(tok,'/');
# 121| if (p)
# 122| *p = '\0';
Error: COMPILER_WARNING (CWE-704):
rsync-3.4.1/access.c:120:11: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
# 118| return 0;
# 119|
# 120|-> p = strchr(tok,'/');
# 121| if (p)
# 122| *p = '\0';
Error: COMPILER_WARNING (CWE-704):
rsync-3.4.1/checksum.c: scope_hint: In function ‘parse_checksum_choice’
rsync-3.4.1/checksum.c:179:28: warning[-Wdiscarded-qualifiers]: initialization discards ‘const’ qualifier from pointer target type
# 179 | char *cp = checksum_choice ? strchr(checksum_choice, ',') : NULL;
# | ^~~~~~~~~~~~~~~
# 177| xfer_sum_nni = file_sum_nni = valid_checksums.negotiated_nni;
# 178| else {
# 179|-> char *cp = checksum_choice ? strchr(checksum_choice, ',') : NULL;
# 180| if (cp) {
# 181| xfer_sum_nni = parse_csum_name(checksum_choice, cp - checksum_choice);
Error: COMPILER_WARNING (CWE-704):
rsync-3.4.1/checksum.c:179:28: warning[-Wdiscarded-qualifiers]: initialization discards ‘const’ qualifier from pointer target type
# 177| xfer_sum_nni = file_sum_nni = valid_checksums.negotiated_nni;
# 178| else {
# 179|-> char *cp = checksum_choice ? strchr(checksum_choice, ',') : NULL;
# 180| if (cp) {
# 181| xfer_sum_nni = parse_csum_name(checksum_choice, cp - checksum_choice);
Error: COMPILER_WARNING (CWE-704):
rsync-3.4.1/compat.c: scope_hint: In function ‘check_sub_protocol’
rsync-3.4.1/compat.c:141:19: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
# 141 | || !(dot = strchr(client_info, '.'))
# | ^
# 139| /* client_info starts with VER.SUB string if client is a pre-release. */
# 140| if (!(their_protocol = atoi(client_info))
# 141|-> || !(dot = strchr(client_info, '.'))
# 142| || !(their_sub = atoi(dot+1))) {
# 143| #if SUBPROTOCOL_VERSION != 0
Error: COMPILER_WARNING (CWE-704):
rsync-3.4.1/compat.c:141:19: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
# 139| /* client_info starts with VER.SUB string if client is a pre-release. */
# 140| if (!(their_protocol = atoi(client_info))
# 141|-> || !(dot = strchr(client_info, '.'))
# 142| || !(their_sub = atoi(dot+1))) {
# 143| #if SUBPROTOCOL_VERSION != 0
Error: COMPILER_WARNING (CWE-704):
rsync-3.4.1/compat.c: scope_hint: In function ‘getenv_nstr’
rsync-3.4.1/compat.c:419:28: warning[-Wdiscarded-qualifiers]: initialization discards ‘const’ qualifier from pointer target type
# 419 | char *cp = strchr(env_str, '&');
# | ^~~~~~
# 417|
# 418| if (am_server && env_str) {
# 419|-> char *cp = strchr(env_str, '&');
# 420| if (cp)
# 421| env_str = cp + 1;
Error: COMPILER_WARNING (CWE-704):
rsync-3.4.1/compat.c:419:28: warning[-Wdiscarded-qualifiers]: initialization discards ‘const’ qualifier from pointer target type
# 417|
# 418| if (am_server && env_str) {
# 419|-> char *cp = strchr(env_str, '&');
# 420| if (cp)
# 421| env_str = cp + 1;
Error: COMPILER_WARNING (CWE-704):
rsync-3.4.1/exclude.c: scope_hint: In function ‘rule_matches’
rsync-3.4.1/exclude.c:921:24: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
# 921 | if ((p = strrchr(name,'/')) != NULL)
# | ^
# 919| * not have a "**" (which could match a slash), then we
# 920| * just match the name portion of the path. */
# 921|-> if ((p = strrchr(name,'/')) != NULL)
# 922| name = p+1;
# 923| } else if (ex->rflags & FILTRULE_ABS_PATH && *fname != '/'
Error: COMPILER_WARNING (CWE-704):
rsync-3.4.1/exclude.c:921:24: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
# 919| * not have a "**" (which could match a slash), then we
# 920| * just match the name portion of the path. */
# 921|-> if ((p = strrchr(name,'/')) != NULL)
# 922| name = p+1;
# 923| } else if (ex->rflags & FILTRULE_ABS_PATH && *fname != '/'
Error: COMPILER_WARNING (CWE-697):
rsync-3.4.1/flist.c: scope_hint: In function ‘fattr_compare’
rsync-3.4.1/flist.c:293:13: warning[-Waddress]: the comparison will always evaluate as ‘true’ for the address of ‘basename’ will never be NULL
# 293 | if (!f1->basename || !S_ISREG(f1->mode) || !len1) {
# | ^
rsync-3.4.1/flist.c:23: included_from: Included from here.
rsync-3.4.1/rsync.h:809:20: note: ‘basename’ declared here
# 809 | const char basename[]; /* The basename (AKA filename) follows */
# | ^~~~~~~~
# 291| int diff;
# 292|
# 293|-> if (!f1->basename || !S_ISREG(f1->mode) || !len1) {
# 294| if (!f2->basename || !S_ISREG(f2->mode) || !len2)
# 295| return 0;
Error: COMPILER_WARNING (CWE-697):
rsync-3.4.1/flist.c:294:21: warning[-Waddress]: the comparison will always evaluate as ‘true’ for the address of ‘basename’ will never be NULL
# 294 | if (!f2->basename || !S_ISREG(f2->mode) || !len2)
# | ^
rsync-3.4.1/rsync.h:809:20: note: ‘basename’ declared here
# 809 | const char basename[]; /* The basename (AKA filename) follows */
# | ^~~~~~~~
# 292|
# 293| if (!f1->basename || !S_ISREG(f1->mode) || !len1) {
# 294|-> if (!f2->basename || !S_ISREG(f2->mode) || !len2)
# 295| return 0;
# 296| return 1;
Error: COMPILER_WARNING (CWE-697):
rsync-3.4.1/flist.c:298:13: warning[-Waddress]: the comparison will always evaluate as ‘true’ for the address of ‘basename’ will never be NULL
# 298 | if (!f2->basename || !S_ISREG(f2->mode) || !len2)
# | ^
rsync-3.4.1/rsync.h:809:20: note: ‘basename’ declared here
# 809 | const char basename[]; /* The basename (AKA filename) follows */
# | ^~~~~~~~
# 296| return 1;
# 297| }
# 298|-> if (!f2->basename || !S_ISREG(f2->mode) || !len2)
# 299| return -1;
# 300|
Error: COMPILER_WARNING (CWE-697):
rsync-3.4.1/flist.c: scope_hint: In function ‘recv_file_list’
rsync-3.4.1/flist.c:2791:29: warning[-Waddress]: the comparison will always evaluate as ‘true’ for the address of ‘basename’ will never be NULL
# 2791 | if (fp->basename && S_ISREG(fp->mode) && F_LENGTH(fp))
# | ^~
rsync-3.4.1/rsync.h:809:20: note: ‘basename’ declared here
# 809 | const char basename[]; /* The basename (AKA filename) follows */
# | ^~~~~~~~
# 2789| while (j-- > 0) {
# 2790| struct file_struct *fp = the_fattr_list.files[j];
# 2791|-> if (fp->basename && S_ISREG(fp->mode) && F_LENGTH(fp))
# 2792| break;
# 2793| }
Error: COMPILER_WARNING (CWE-704):
rsync-3.4.1/io.c: scope_hint: In function ‘check_for_d_option_error’
rsync-3.4.1/io.c:1170:35: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
# 1170 | if (*msg == '-' || (colon = strchr(msg, ':')) == NULL
# | ^
# 1168|
# 1169| msg += sizeof REMOTE_OPTION_ERROR - 1;
# 1170|-> if (*msg == '-' || (colon = strchr(msg, ':')) == NULL
# 1171| || strncmp(colon, REMOTE_OPTION_ERROR2, sizeof REMOTE_OPTION_ERROR2 - 1) != 0)
# 1172| return;
Error: COMPILER_WARNING (CWE-704):
rsync-3.4.1/io.c:1170:35: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
# 1168|
# 1169| msg += sizeof REMOTE_OPTION_ERROR - 1;
# 1170|-> if (*msg == '-' || (colon = strchr(msg, ':')) == NULL
# 1171| || strncmp(colon, REMOTE_OPTION_ERROR2, sizeof REMOTE_OPTION_ERROR2 - 1) != 0)
# 1172| return;
Error: COMPILER_WARNING (CWE-704):
rsync-3.4.1/loadparm.c: scope_hint: In function ‘expand_vars’
rsync-3.4.1/loadparm.c:181:41: warning[-Wdiscarded-qualifiers]: initialization discards ‘const’ qualifier from pointer target type
# 181 | char *percent = strchr(f+1, '%');
# | ^~~~~~
# 179| for (t = buf, f = str; bufsize && *f; ) {
# 180| if (*f == '%' && isUpper(f+1)) {
# 181|-> char *percent = strchr(f+1, '%');
# 182| if (percent && percent - f < bufsize) {
# 183| char *val;
Error: COMPILER_WARNING (CWE-704):
rsync-3.4.1/loadparm.c:181:41: warning[-Wdiscarded-qualifiers]: initialization discards ‘const’ qualifier from pointer target type
# 179| for (t = buf, f = str; bufsize && *f; ) {
# 180| if (*f == '%' && isUpper(f+1)) {
# 181|-> char *percent = strchr(f+1, '%');
# 182| if (percent && percent - f < bufsize) {
# 183| char *val;
Error: COMPILER_WARNING (CWE-457):
rsync-3.4.1/receiver.c: scope_hint: In function ‘receive_data’
rsync-3.4.1/receiver.c:250:15: warning[-Wmaybe-uninitialized]: ‘data’ may be used uninitialized
# 250 | char *data;
# | ^
# 248| OFF_T offset = 0;
# 249| OFF_T offset2;
# 250|-> char *data;
# 251| int32 i;
# 252| char *map = NULL;
Error: COMPILER_WARNING:
rsync-3.4.1/zlib/adler32.c: scope_hint: In function ‘adler32’
rsync-3.4.1/zlib/adler32.c:65:15: warning[-Wold-style-definition]: old-style function definition
# 65 | uLong ZEXPORT adler32(adler, buf, len)
# | ^~~~~~~
# 63|
# 64| /* ========================================================================= */
# 65|-> uLong ZEXPORT adler32(adler, buf, len)
# 66| uLong adler;
# 67| const Bytef *buf;
Error: COMPILER_WARNING:
rsync-3.4.1/zlib/adler32.c:65:15: warning[-Wold-style-definition]: old-style function definition
# 63|
# 64| /* ========================================================================= */
# 65|-> uLong ZEXPORT adler32(adler, buf, len)
# 66| uLong adler;
# 67| const Bytef *buf;
Error: COMPILER_WARNING:
rsync-3.4.1/zlib/adler32.c: scope_hint: In function ‘adler32_combine_’
rsync-3.4.1/zlib/adler32.c:136:13: warning[-Wold-style-definition]: old-style function definition
# 136 | local uLong adler32_combine_(adler1, adler2, len2)
# | ^~~~~~~~~~~~~~~~
# 134|
# 135| /* ========================================================================= */
# 136|-> local uLong adler32_combine_(adler1, adler2, len2)
# 137| uLong adler1;
# 138| uLong adler2;
Error: COMPILER_WARNING:
rsync-3.4.1/zlib/adler32.c:136:13: warning[-Wold-style-definition]: old-style function definition
# 134|
# 135| /* ========================================================================= */
# 136|-> local uLong adler32_combine_(adler1, adler2, len2)
# 137| uLong adler1;
# 138| uLong adler2;
Error: COMPILER_WARNING:
rsync-3.4.1/zlib/adler32.c: scope_hint: In function ‘adler32_combine’
rsync-3.4.1/zlib/adler32.c:165:15: warning[-Wold-style-definition]: old-style function definition
# 165 | uLong ZEXPORT adler32_combine(adler1, adler2, len2)
# | ^~~~~~~~~~~~~~~
# 163|
# 164| /* ========================================================================= */
# 165|-> uLong ZEXPORT adler32_combine(adler1, adler2, len2)
# 166| uLong adler1;
# 167| uLong adler2;
Error: COMPILER_WARNING:
rsync-3.4.1/zlib/adler32.c:165:15: warning[-Wold-style-definition]: old-style function definition
# 163|
# 164| /* ========================================================================= */
# 165|-> uLong ZEXPORT adler32_combine(adler1, adler2, len2)
# 166| uLong adler1;
# 167| uLong adler2;
Error: COMPILER_WARNING:
rsync-3.4.1/zlib/adler32.c: scope_hint: In function ‘adler32_combine64’
rsync-3.4.1/zlib/adler32.c:173:15: warning[-Wold-style-definition]: old-style function definition
# 173 | uLong ZEXPORT adler32_combine64(adler1, adler2, len2)
# | ^~~~~~~~~~~~~~~~~
# 171| }
# 172|
# 173|-> uLong ZEXPORT adler32_combine64(adler1, adler2, len2)
# 174| uLong adler1;
# 175| uLong adler2;
Error: COMPILER_WARNING:
rsync-3.4.1/zlib/adler32.c:173:15: warning[-Wold-style-definition]: old-style function definition
# 171| }
# 172|
# 173|-> uLong ZEXPORT adler32_combine64(adler1, adler2, len2)
# 174| uLong adler1;
# 175| uLong adler2;
Error: COMPILER_WARNING:
rsync-3.4.1/zlib/compress.c: scope_hint: In function ‘compress2’
rsync-3.4.1/zlib/compress.c:22:13: warning[-Wold-style-definition]: old-style function definition
# 22 | int ZEXPORT compress2 (dest, destLen, source, sourceLen, level)
# | ^~~~~~~~~
# 20| Z_STREAM_ERROR if the level parameter is invalid.
# 21| */
# 22|-> int ZEXPORT compress2 (dest, destLen, source, sourceLen, level)
# 23| Bytef *dest;
# 24| uLongf *destLen;
Error: COMPILER_WARNING:
rsync-3.4.1/zlib/compress.c:22:13: warning[-Wold-style-definition]: old-style function definition
# 20| Z_STREAM_ERROR if the level parameter is invalid.
# 21| */
# 22|-> int ZEXPORT compress2 (dest, destLen, source, sourceLen, level)
# 23| Bytef *dest;
# 24| uLongf *destLen;
Error: COMPILER_WARNING:
rsync-3.4.1/zlib/compress.c: scope_hint: In function ‘compress’
rsync-3.4.1/zlib/compress.c:62:13: warning[-Wold-style-definition]: old-style function definition
# 62 | int ZEXPORT compress (dest, destLen, source, sourceLen)
# | ^~~~~~~~
# 60| /* ===========================================================================
# 61| */
# 62|-> int ZEXPORT compress (dest, destLen, source, sourceLen)
# 63| Bytef *dest;
# 64| uLongf *destLen;
Error: COMPILER_WARNING:
rsync-3.4.1/zlib/compress.c:62:13: warning[-Wold-style-definition]: old-style function definition
# 60| /* ===========================================================================
# 61| */
# 62|-> int ZEXPORT compress (dest, destLen, source, sourceLen)
# 63| Bytef *dest;
# 64| uLongf *destLen;
Error: COMPILER_WARNING:
rsync-3.4.1/zlib/compress.c: scope_hint: In function ‘compressBound’
rsync-3.4.1/zlib/compress.c:75:15: warning[-Wold-style-definition]: old-style function definition
# 75 | uLong ZEXPORT compressBound (sourceLen)
# | ^~~~~~~~~~~~~
# 73| this function needs to be updated.
# 74| */
# 75|-> uLong ZEXPORT compressBound (sourceLen)
# 76| uLong sourceLen;
# 77| {
Error: COMPILER_WARNING:
rsync-3.4.1/zlib/compress.c:75:15: warning[-Wold-style-definition]: old-style function definition
# 73| this function needs to be updated.
# 74| */
# 75|-> uLong ZEXPORT compressBound (sourceLen)
# 76| uLong sourceLen;
# 77| {
Error: COMPILER_WARNING:
rsync-3.4.1/zlib/crc32.c: scope_hint: In function ‘crc32’
rsync-3.4.1/zlib/crc32.c:204:23: warning[-Wold-style-definition]: old-style function definition
# 204 | unsigned long ZEXPORT crc32(crc, buf, len)
# | ^~~~~
# 202|
# 203| /* ========================================================================= */
# 204|-> unsigned long ZEXPORT crc32(crc, buf, len)
# 205| unsigned long crc;
# 206| const unsigned char FAR *buf;
Error: COMPILER_WARNING:
rsync-3.4.1/zlib/crc32.c:204:23: warning[-Wold-style-definition]: old-style function definition
# 202|
# 203| /* ========================================================================= */
# 204|-> unsigned long ZEXPORT crc32(crc, buf, len)
# 205| unsigned long crc;
# 206| const unsigned char FAR *buf;
Error: COMPILER_WARNING:
rsync-3.4.1/zlib/crc32.c: scope_hint: In function ‘crc32_little’
rsync-3.4.1/zlib/crc32.c:247:21: warning[-Wold-style-definition]: old-style function definition
# 247 | local unsigned long crc32_little(crc, buf, len)
# | ^~~~~~~~~~~~
# 245|
# 246| /* ========================================================================= */
# 247|-> local unsigned long crc32_little(crc, buf, len)
# 248| unsigned long crc;
# 249| const unsigned char FAR *buf;
Error: COMPILER_WARNING:
rsync-3.4.1/zlib/crc32.c:247:21: warning[-Wold-style-definition]: old-style function definition
# 245|
# 246| /* ========================================================================= */
# 247|-> local unsigned long crc32_little(crc, buf, len)
# 248| unsigned long crc;
# 249| const unsigned char FAR *buf;
Error: COMPILER_WARNING:
rsync-3.4.1/zlib/crc32.c: scope_hint: In function ‘crc32_big’
rsync-3.4.1/zlib/crc32.c:287:21: warning[-Wold-style-definition]: old-style function definition
# 287 | local unsigned long crc32_big(crc, buf, len)
# | ^~~~~~~~~
# 285|
# 286| /* ========================================================================= */
# 287|-> local unsigned long crc32_big(crc, buf, len)
# 288| unsigned long crc;
# 289| const unsigned char FAR *buf;
Error: COMPILER_WARNING:
rsync-3.4.1/zlib/crc32.c:287:21: warning[-Wold-style-definition]: old-style function definition
# 285|
# 286| /* ========================================================================= */
# 287|-> local unsigned long crc32_big(crc, buf, len)
# 288| unsigned long crc;
# 289| const unsigned char FAR *buf;
Error: COMPILER_WARNING:
rsync-3.4.1/zlib/crc32.c: scope_hint: In function ‘gf2_matrix_times’
rsync-3.4.1/zlib/crc32.c:325:21: warning[-Wold-style-definition]: old-style function definition
# 325 | local unsigned long gf2_matrix_times(mat, vec)
# | ^~~~~~~~~~~~~~~~
# 323|
# 324| /* ========================================================================= */
# 325|-> local unsigned long gf2_matrix_times(mat, vec)
# 326| unsigned long *mat;
# 327| unsigned long vec;
Error: COMPILER_WARNING:
rsync-3.4.1/zlib/crc32.c:325:21: warning[-Wold-style-definition]: old-style function definition
# 323|
# 324| /* ========================================================================= */
# 325|-> local unsigned long gf2_matrix_times(mat, vec)
# 326| unsigned long *mat;
# 327| unsigned long vec;
Error: COMPILER_WARNING:
rsync-3.4.1/zlib/crc32.c: scope_hint: In function ‘gf2_matrix_square’
rsync-3.4.1/zlib/crc32.c:342:12: warning[-Wold-style-definition]: old-style function definition
# 342 | local void gf2_matrix_square(square, mat)
# | ^~~~~~~~~~~~~~~~~
# 340|
# 341| /* ========================================================================= */
# 342|-> local void gf2_matrix_square(square, mat)
# 343| unsigned long *square;
# 344| unsigned long *mat;
Error: COMPILER_WARNING:
rsync-3.4.1/zlib/crc32.c:342:12: warning[-Wold-style-definition]: old-style function definition
# 340|
# 341| /* ========================================================================= */
# 342|-> local void gf2_matrix_square(square, mat)
# 343| unsigned long *square;
# 344| unsigned long *mat;
Error: COMPILER_WARNING:
rsync-3.4.1/zlib/crc32.c: scope_hint: In function ‘crc32_combine_’
rsync-3.4.1/zlib/crc32.c:353:13: warning[-Wold-style-definition]: old-style function definition
# 353 | local uLong crc32_combine_(crc1, crc2, len2)
# | ^~~~~~~~~~~~~~
# 351|
# 352| /* ========================================================================= */
# 353|-> local uLong crc32_combine_(crc1, crc2, len2)
# 354| uLong crc1;
# 355| uLong crc2;
Error: COMPILER_WARNING:
rsync-3.4.1/zlib/crc32.c:353:13: warning[-Wold-style-definition]: old-style function definition
# 351|
# 352| /* ========================================================================= */
# 353|-> local uLong crc32_combine_(crc1, crc2, len2)
# 354| uLong crc1;
# 355| uLong crc2;
Error: COMPILER_WARNING:
rsync-3.4.1/zlib/crc32.c: scope_hint: In function ‘crc32_combine’
rsync-3.4.1/zlib/crc32.c:409:15: warning[-Wold-style-definition]: old-style function definition
# 409 | uLong ZEXPORT crc32_combine(crc1, crc2, len2)
# | ^~~~~~~~~~~~~
# 407|
# 408| /* ========================================================================= */
# 409|-> uLong ZEXPORT crc32_combine(crc1, crc2, len2)
# 410| uLong crc1;
# 411| uLong crc2;
Error: COMPILER_WARNING:
rsync-3.4.1/zlib/crc32.c:409:15: warning[-Wold-style-definition]: old-style function definition
# 407|
# 408| /* ========================================================================= */
# 409|-> uLong ZEXPORT crc32_combine(crc1, crc2, len2)
# 410| uLong crc1;
# 411| uLong crc2;
Error: COMPILER_WARNING:
rsync-3.4.1/zlib/crc32.c: scope_hint: In function ‘crc32_combine64’
rsync-3.4.1/zlib/crc32.c:417:15: warning[-Wold-style-definition]: old-style function definition
# 417 | uLong ZEXPORT crc32_combine64(crc1, crc2, len2)
# | ^~~~~~~~~~~~~~~
# 415| }
# 416|
# 417|-> uLong ZEXPORT crc32_combine64(crc1, crc2, len2)
# 418| uLong crc1;
# 419| uLong crc2;
Error: COMPILER_WARNING:
rsync-3.4.1/zlib/crc32.c:417:15: warning[-Wold-style-definition]: old-style function definition
# 415| }
# 416|
# 417|-> uLong ZEXPORT crc32_combine64(crc1, crc2, len2)
# 418| uLong crc1;
# 419| uLong crc2;
Error: COMPILER_WARNING:
rsync-3.4.1/zlib/deflate.c: scope_hint: In function ‘dread_buf’
rsync-3.4.1/zlib/deflate.c:54:18: warning[-Wold-style-definition]: old-style function definition
# 54 | #define read_buf dread_buf
# | ^~~~~~~~~
rsync-3.4.1/zlib/deflate.c:1112:11: note: in expansion of macro ‘read_buf’
# 1112 | local int read_buf(strm, buf, size)
# | ^~~~~~~~
# 52| #include "deflate.h"
# 53|
# 54|-> #define read_buf dread_buf
# 55|
# 56| const char deflate_copyright[] =
Error: COMPILER_WARNING:
rsync-3.4.1/zlib/deflate.c: scope_hint: In function ‘deflateInit_’
rsync-3.4.1/zlib/deflate.c:203:13: warning[-Wold-style-definition]: old-style function definition
# 203 | int ZEXPORT deflateInit_(strm, level, version, stream_size)
# | ^~~~~~~~~~~~
# 201|
# 202| /* ========================================================================= */
# 203|-> int ZEXPORT deflateInit_(strm, level, version, stream_size)
# 204| z_streamp strm;
# 205| int level;
Error: COMPILER_WARNING:
rsync-3.4.1/zlib/deflate.c:203:13: warning[-Wold-style-definition]: old-style function definition
# 201|
# 202| /* ========================================================================= */
# 203|-> int ZEXPORT deflateInit_(strm, level, version, stream_size)
# 204| z_streamp strm;
# 205| int level;
Error: COMPILER_WARNING:
rsync-3.4.1/zlib/deflate.c: scope_hint: In function ‘deflateInit2_’
rsync-3.4.1/zlib/deflate.c:215:13: warning[-Wold-style-definition]: old-style function definition
# 215 | int ZEXPORT deflateInit2_(strm, level, method, windowBits, memLevel, strategy,
# | ^~~~~~~~~~~~~
# 213|
# 214| /* ========================================================================= */
# 215|-> int ZEXPORT deflateInit2_(strm, level, method, windowBits, memLevel, strategy,
# 216| version, stream_size)
# 217| z_streamp strm;
Error: COMPILER_WARNING:
rsync-3.4.1/zlib/deflate.c:215:13: warning[-Wold-style-definition]: old-style function definition
# 213|
# 214| /* ========================================================================= */
# 215|-> int ZEXPORT deflateInit2_(strm, level, method, windowBits, memLevel, strategy,
# 216| version, stream_size)
# 217| z_streamp strm;
Error: COMPILER_WARNING:
rsync-3.4.1/zlib/deflate.c: scope_hint: In function ‘deflateSetDictionary’
rsync-3.4.1/zlib/deflate.c:362:13: warning[-Wold-style-definition]: old-style function definition
# 362 | int ZEXPORT deflateSetDictionary (strm, dictionary, dictLength)
# | ^~~~~~~~~~~~~~~~~~~~
# 360|
# 361| /* ========================================================================= */
# 362|-> int ZEXPORT deflateSetDictionary (strm, dictionary, dictLength)
# 363| z_streamp strm;
# 364| const Bytef *dictionary;
Error: COMPILER_WARNING:
rsync-3.4.1/zlib/deflate.c:362:13: warning[-Wold-style-definition]: old-style function definition
# 360|
# 361| /* ========================================================================= */
# 362|-> int ZEXPORT deflateSetDictionary (strm, dictionary, dictLength)
# 363| z_streamp strm;
# 364| const Bytef *dictionary;
Error: COMPILER_WARNING:
rsync-3.4.1/zlib/deflate.c: scope_hint: In function ‘deflateResetKeep’
rsync-3.4.1/zlib/deflate.c:431:13: warning[-Wold-style-definition]: old-style function definition
# 431 | int ZEXPORT deflateResetKeep (strm)
# | ^~~~~~~~~~~~~~~~
# 429|
# 430| /* ========================================================================= */
# 431|-> int ZEXPORT deflateResetKeep (strm)
# 432| z_streamp strm;
# 433| {
Error: COMPILER_WARNING:
rsync-3.4.1/zlib/deflate.c:431:13: warning[-Wold-style-definition]: old-style function definition
# 429|
# 430| /* ========================================================================= */
# 431|-> int ZEXPORT deflateResetKeep (strm)
# 432| z_streamp strm;
# 433| {
Error: COMPILER_WARNING:
rsync-3.4.1/zlib/deflate.c: scope_hint: In function ‘deflateReset’
rsync-3.4.1/zlib/deflate.c:466:13: warning[-Wold-style-definition]: old-style function definition
# 466 | int ZEXPORT deflateReset (strm)
# | ^~~~~~~~~~~~
# 464|
# 465| /* ========================================================================= */
# 466|-> int ZEXPORT deflateReset (strm)
# 467| z_streamp strm;
# 468| {
Error: COMPILER_WARNING:
rsync-3.4.1/zlib/deflate.c:466:13: warning[-Wold-style-definition]: old-style function definition
# 464|
# 465| /* ========================================================================= */
# 466|-> int ZEXPORT deflateReset (strm)
# 467| z_streamp strm;
# 468| {
Error: COMPILER_WARNING:
rsync-3.4.1/zlib/deflate.c: scope_hint: In function ‘deflateSetHeader’
rsync-3.4.1/zlib/deflate.c:478:13: warning[-Wold-style-definition]: old-style function definition
# 478 | int ZEXPORT deflateSetHeader (strm, head)
# | ^~~~~~~~~~~~~~~~
# 476|
# 477| /* ========================================================================= */
# 478|-> int ZEXPORT deflateSetHeader (strm, head)
# 479| z_streamp strm;
# 480| gz_headerp head;
Error: COMPILER_WARNING:
rsync-3.4.1/zlib/deflate.c:478:13: warning[-Wold-style-definition]: old-style function definition
# 476|
# 477| /* ========================================================================= */
# 478|-> int ZEXPORT deflateSetHeader (strm, head)
# 479| z_streamp strm;
# 480| gz_headerp head;
Error: COMPILER_WARNING:
rsync-3.4.1/zlib/deflate.c: scope_hint: In function ‘deflatePending’
rsync-3.4.1/zlib/deflate.c:489:13: warning[-Wold-style-definition]: old-style function definition
# 489 | int ZEXPORT deflatePending (strm, pending, bits)
# | ^~~~~~~~~~~~~~
# 487|
# 488| /* ========================================================================= */
# 489|-> int ZEXPORT deflatePending (strm, pending, bits)
# 490| unsigned *pending;
# 491| int *bits;
Error: COMPILER_WARNING:
rsync-3.4.1/zlib/deflate.c:489:13: warning[-Wold-style-definition]: old-style function definition
# 487|
# 488| /* ========================================================================= */
# 489|-> int ZEXPORT deflatePending (strm, pending, bits)
# 490| unsigned *pending;
# 491| int *bits;
Error: COMPILER_WARNING:
rsync-3.4.1/zlib/deflate.c: scope_hint: In function ‘deflatePrime’
rsync-3.4.1/zlib/deflate.c:503:13: warning[-Wold-style-definition]: old-style function definition
# 503 | int ZEXPORT deflatePrime (strm, bits, value)
# | ^~~~~~~~~~~~
# 501|
# 502| /* ========================================================================= */
# 503|-> int ZEXPORT deflatePrime (strm, bits, value)
# 504| z_streamp strm;
# 505| int bits;
Error: COMPILER_WARNING:
rsync-3.4.1/zlib/deflate.c:503:13: warning[-Wold-style-definition]: old-style function definition
# 501|
# 502| /* ========================================================================= */
# 503|-> int ZEXPORT deflatePrime (strm, bits, value)
# 504| z_streamp strm;
# 505| int bits;
Error: COMPILER_WARNING:
rsync-3.4.1/zlib/deflate.c: scope_hint: In function ‘deflateParams’
rsync-3.4.1/zlib/deflate.c:529:13: warning[-Wold-style-definition]: old-style function definition
# 529 | int ZEXPORT deflateParams(strm, level, strategy)
# | ^~~~~~~~~~~~~
# 527|
# 528| /* ========================================================================= */
# 529|-> int ZEXPORT deflateParams(strm, level, strategy)
# 530| z_streamp strm;
# 531| int level;
Error: COMPILER_WARNING:
rsync-3.4.1/zlib/deflate.c:529:13: warning[-Wold-style-definition]: old-style function definition
# 527|
# 528| /* ========================================================================= */
# 529|-> int ZEXPORT deflateParams(strm, level, strategy)
# 530| z_streamp strm;
# 531| int level;
Error: COMPILER_WARNING:
rsync-3.4.1/zlib/deflate.c: scope_hint: In function ‘deflateTune’
rsync-3.4.1/zlib/deflate.c:570:13: warning[-Wold-style-definition]: old-style function definition
# 570 | int ZEXPORT deflateTune(strm, good_length, max_lazy, nice_length, max_chain)
# | ^~~~~~~~~~~
# 568|
# 569| /* ========================================================================= */
# 570|-> int ZEXPORT deflateTune(strm, good_length, max_lazy, nice_length, max_chain)
# 571| z_streamp strm;
# 572| int good_length;
Error: COMPILER_WARNING:
rsync-3.4.1/zlib/deflate.c:570:13: warning[-Wold-style-definition]: old-style function definition
# 568|
# 569| /* ========================================================================= */
# 570|-> int ZEXPORT deflateTune(strm, good_length, max_lazy, nice_length, max_chain)
# 571| z_streamp strm;
# 572| int good_length;
Error: COMPILER_WARNING:
rsync-3.4.1/zlib/deflate.c: scope_hint: In function ‘deflateBound’
rsync-3.4.1/zlib/deflate.c:605:15: warning[-Wold-style-definition]: old-style function definition
# 605 | uLong ZEXPORT deflateBound(strm, sourceLen)
# | ^~~~~~~~~~~~
# 603| * allocation.
# 604| */
# 605|-> uLong ZEXPORT deflateBound(strm, sourceLen)
# 606| z_streamp strm;
# 607| uLong sourceLen;
Error: COMPILER_WARNING:
rsync-3.4.1/zlib/deflate.c:605:15: warning[-Wold-style-definition]: old-style function definition
# 603| * allocation.
# 604| */
# 605|-> uLong ZEXPORT deflateBound(strm, sourceLen)
# 606| z_streamp strm;
# 607| uLong sourceLen;
Error: COMPILER_WARNING:
rsync-3.4.1/zlib/deflate.c: scope_hint: In function ‘putShortMSB’
rsync-3.4.1/zlib/deflate.c:667:12: warning[-Wold-style-definition]: old-style function definition
# 667 | local void putShortMSB (s, b)
# | ^~~~~~~~~~~
# 665| * pending_buf.
# 666| */
# 667|-> local void putShortMSB (s, b)
# 668| deflate_state *s;
# 669| uInt b;
Error: COMPILER_WARNING:
rsync-3.4.1/zlib/deflate.c:667:12: warning[-Wold-style-definition]: old-style function definition
# 665| * pending_buf.
# 666| */
# 667|-> local void putShortMSB (s, b)
# 668| deflate_state *s;
# 669| uInt b;
Error: COMPILER_WARNING:
rsync-3.4.1/zlib/deflate.c: scope_hint: In function ‘flush_pending’
rsync-3.4.1/zlib/deflate.c:681:12: warning[-Wold-style-definition]: old-style function definition
# 681 | local void flush_pending(strm)
# | ^~~~~~~~~~~~~
# 679| * (See also read_buf()).
# 680| */
# 681|-> local void flush_pending(strm)
# 682| z_streamp strm;
# 683| {
Error: COMPILER_WARNING:
rsync-3.4.1/zlib/deflate.c:681:12: warning[-Wold-style-definition]: old-style function definition
# 679| * (See also read_buf()).
# 680| */
# 681|-> local void flush_pending(strm)
# 682| z_streamp strm;
# 683| {
Error: COMPILER_WARNING:
rsync-3.4.1/zlib/deflate.c: scope_hint: In function ‘deflate’
rsync-3.4.1/zlib/deflate.c:704:13: warning[-Wold-style-definition]: old-style function definition
# 704 | int ZEXPORT deflate (strm, flush)
# | ^~~~~~~
# 702|
# 703| /* ========================================================================= */
# 704|-> int ZEXPORT deflate (strm, flush)
# 705| z_streamp strm;
# 706| int flush;
Error: COMPILER_WARNING:
rsync-3.4.1/zlib/deflate.c:704:13: warning[-Wold-style-definition]: old-style function definition
# 702|
# 703| /* ========================================================================= */
# 704|-> int ZEXPORT deflate (strm, flush)
# 705| z_streamp strm;
# 706| int flush;
Error: COMPILER_WARNING:
rsync-3.4.1/zlib/deflate.c: scope_hint: In function ‘deflateEnd’
rsync-3.4.1/zlib/deflate.c:1018:13: warning[-Wold-style-definition]: old-style function definition
# 1018 | int ZEXPORT deflateEnd (strm)
# | ^~~~~~~~~~
# 1016|
# 1017| /* ========================================================================= */
# 1018|-> int ZEXPORT deflateEnd (strm)
# 1019| z_streamp strm;
# 1020| {
Error: COMPILER_WARNING:
rsync-3.4.1/zlib/deflate.c:1018:13: warning[-Wold-style-definition]: old-style function definition
# 1016|
# 1017| /* ========================================================================= */
# 1018|-> int ZEXPORT deflateEnd (strm)
# 1019| z_streamp strm;
# 1020| {
Error: COMPILER_WARNING:
rsync-3.4.1/zlib/deflate.c: scope_hint: In function ‘deflateCopy’
rsync-3.4.1/zlib/deflate.c:1053:13: warning[-Wold-style-definition]: old-style function definition
# 1053 | int ZEXPORT deflateCopy (dest, source)
# | ^~~~~~~~~~~
# 1051| * doesn't have enough memory anyway to duplicate compression states).
# 1052| */
# 1053|-> int ZEXPORT deflateCopy (dest, source)
# 1054| z_streamp dest;
# 1055| z_streamp source;
Error: COMPILER_WARNING:
rsync-3.4.1/zlib/deflate.c:1053:13: warning[-Wold-style-definition]: old-style function definition
# 1051| * doesn't have enough memory anyway to duplicate compression states).
# 1052| */
# 1053|-> int ZEXPORT deflateCopy (dest, source)
# 1054| z_streamp dest;
# 1055| z_streamp source;
Error: COMPILER_WARNING:
rsync-3.4.1/zlib/deflate.c:1112:11: warning[-Wold-style-definition]: old-style function definition
# 1110| * (See also flush_pending()).
# 1111| */
# 1112|-> local int read_buf(strm, buf, size)
# 1113| z_streamp strm;
# 1114| Bytef *buf;
Error: COMPILER_WARNING:
rsync-3.4.1/zlib/deflate.c: scope_hint: In function ‘lm_init’
rsync-3.4.1/zlib/deflate.c:1142:12: warning[-Wold-style-definition]: old-style function definition
# 1142 | local void lm_init (s)
# | ^~~~~~~
# 1140| * Initialize the "longest match" routines for a new zlib stream
# 1141| */
# 1142|-> local void lm_init (s)
# 1143| deflate_state *s;
# 1144| {
Error: COMPILER_WARNING:
rsync-3.4.1/zlib/deflate.c:1142:12: warning[-Wold-style-definition]: old-style function definition
# 1140| * Initialize the "longest match" routines for a new zlib stream
# 1141| */
# 1142|-> local void lm_init (s)
# 1143| deflate_state *s;
# 1144| {
Error: COMPILER_WARNING:
rsync-3.4.1/zlib/deflate.c: scope_hint: In function ‘longest_match’
rsync-3.4.1/zlib/deflate.c:1184:12: warning[-Wold-style-definition]: old-style function definition
# 1184 | local uInt longest_match(s, cur_match)
# | ^~~~~~~~~~~~~
# 1182| * match.S. The code will be functionally equivalent.
# 1183| */
# 1184|-> local uInt longest_match(s, cur_match)
# 1185| deflate_state *s;
# 1186| IPos cur_match; /* current match */
Error: COMPILER_WARNING:
rsync-3.4.1/zlib/deflate.c:1184:12: warning[-Wold-style-definition]: old-style function definition
# 1182| * match.S. The code will be functionally equivalent.
# 1183| */
# 1184|-> local uInt longest_match(s, cur_match)
# 1185| deflate_state *s;
# 1186| IPos cur_match; /* current match */
Error: COMPILER_WARNING:
rsync-3.4.1/zlib/deflate.c: scope_hint: In function ‘fill_window’
rsync-3.4.1/zlib/deflate.c:1426:12: warning[-Wold-style-definition]: old-style function definition
# 1426 | local void fill_window(s)
# | ^~~~~~~~~~~
# 1424| * option -- not supported here).
# 1425| */
# 1426|-> local void fill_window(s)
# 1427| deflate_state *s;
# 1428| {
Error: COMPILER_WARNING:
rsync-3.4.1/zlib/deflate.c:1426:12: warning[-Wold-style-definition]: old-style function definition
# 1424| * option -- not supported here).
# 1425| */
# 1426|-> local void fill_window(s)
# 1427| deflate_state *s;
# 1428| {
Error: COMPILER_WARNING:
rsync-3.4.1/zlib/deflate.c: scope_hint: In function ‘deflate_stored’
rsync-3.4.1/zlib/deflate.c:1600:19: warning[-Wold-style-definition]: old-style function definition
# 1600 | local block_state deflate_stored(s, flush)
# | ^~~~~~~~~~~~~~
# 1598| * window to pending_buf.
# 1599| */
# 1600|-> local block_state deflate_stored(s, flush)
# 1601| deflate_state *s;
# 1602| int flush;
Error: COMPILER_WARNING:
rsync-3.4.1/zlib/deflate.c:1600:19: warning[-Wold-style-definition]: old-style function definition
# 1598| * window to pending_buf.
# 1599| */
# 1600|-> local block_state deflate_stored(s, flush)
# 1601| deflate_state *s;
# 1602| int flush;
Error: COMPILER_WARNING:
rsync-3.4.1/zlib/deflate.c: scope_hint: In function ‘deflate_fast’
rsync-3.4.1/zlib/deflate.c:1673:19: warning[-Wold-style-definition]: old-style function definition
# 1673 | local block_state deflate_fast(s, flush)
# | ^~~~~~~~~~~~
# 1671| * matches. It is used only for the fast compression options.
# 1672| */
# 1673|-> local block_state deflate_fast(s, flush)
# 1674| deflate_state *s;
# 1675| int flush;
Error: COMPILER_WARNING:
rsync-3.4.1/zlib/deflate.c:1673:19: warning[-Wold-style-definition]: old-style function definition
# 1671| * matches. It is used only for the fast compression options.
# 1672| */
# 1673|-> local block_state deflate_fast(s, flush)
# 1674| deflate_state *s;
# 1675| int flush;
Error: COMPILER_WARNING:
rsync-3.4.1/zlib/deflate.c: scope_hint: In function ‘deflate_slow’
rsync-3.4.1/zlib/deflate.c:1785:19: warning[-Wold-style-definition]: old-style function definition
# 1785 | local block_state deflate_slow(s, flush)
# | ^~~~~~~~~~~~
# 1783| * no better match at the next window position.
# 1784| */
# 1785|-> local block_state deflate_slow(s, flush)
# 1786| deflate_state *s;
# 1787| int flush;
Error: COMPILER_WARNING:
rsync-3.4.1/zlib/deflate.c:1785:19: warning[-Wold-style-definition]: old-style function definition
# 1783| * no better match at the next window position.
# 1784| */
# 1785|-> local block_state deflate_slow(s, flush)
# 1786| deflate_state *s;
# 1787| int flush;
Error: COMPILER_WARNING:
rsync-3.4.1/zlib/deflate.c: scope_hint: In function ‘deflate_rle’
rsync-3.4.1/zlib/deflate.c:1926:19: warning[-Wold-style-definition]: old-style function definition
# 1926 | local block_state deflate_rle(s, flush)
# | ^~~~~~~~~~~
# 1924| * deflate switches away from Z_RLE.)
# 1925| */
# 1926|-> local block_state deflate_rle(s, flush)
# 1927| deflate_state *s;
# 1928| int flush;
Error: COMPILER_WARNING:
rsync-3.4.1/zlib/deflate.c:1926:19: warning[-Wold-style-definition]: old-style function definition
# 1924| * deflate switches away from Z_RLE.)
# 1925| */
# 1926|-> local block_state deflate_rle(s, flush)
# 1927| deflate_state *s;
# 1928| int flush;
Error: COMPILER_WARNING:
rsync-3.4.1/zlib/deflate.c: scope_hint: In function ‘deflate_huff’
rsync-3.4.1/zlib/deflate.c:1999:19: warning[-Wold-style-definition]: old-style function definition
# 1999 | local block_state deflate_huff(s, flush)
# | ^~~~~~~~~~~~
# 1997| * (It will be regenerated if this run of deflate switches away from Huffman.)
# 1998| */
# 1999|-> local block_state deflate_huff(s, flush)
# 2000| deflate_state *s;
# 2001| int flush;
Error: COMPILER_WARNING:
rsync-3.4.1/zlib/deflate.c:1999:19: warning[-Wold-style-definition]: old-style function definition
# 1997| * (It will be regenerated if this run of deflate switches away from Huffman.)
# 1998| */
# 1999|-> local block_state deflate_huff(s, flush)
# 2000| deflate_state *s;
# 2001| int flush;
Error: COMPILER_WARNING:
rsync-3.4.1/zlib/inffast.c: scope_hint: In function ‘inflate_fast’
rsync-3.4.1/zlib/inffast.c:48:20: warning[-Wold-style-definition]: old-style function definition
# 48 | void ZLIB_INTERNAL inflate_fast(strm, start)
# | ^~~~~~~~~~~~
# 46| output space.
# 47| */
# 48|-> void ZLIB_INTERNAL inflate_fast(strm, start)
# 49| z_streamp strm;
# 50| unsigned start; /* inflate()'s starting value for strm->avail_out */
Error: COMPILER_WARNING:
rsync-3.4.1/zlib/inffast.c:48:20: warning[-Wold-style-definition]: old-style function definition
# 46| output space.
# 47| */
# 48|-> void ZLIB_INTERNAL inflate_fast(strm, start)
# 49| z_streamp strm;
# 50| unsigned start; /* inflate()'s starting value for strm->avail_out */
Error: COMPILER_WARNING:
rsync-3.4.1/zlib/inflate.c: scope_hint: In function ‘inflateResetKeep’
rsync-3.4.1/zlib/inflate.c:104:13: warning[-Wold-style-definition]: old-style function definition
# 104 | int ZEXPORT inflateResetKeep(strm)
# | ^~~~~~~~~~~~~~~~
# 102| unsigned len));
# 103|
# 104|-> int ZEXPORT inflateResetKeep(strm)
# 105| z_streamp strm;
# 106| {
Error: COMPILER_WARNING:
rsync-3.4.1/zlib/inflate.c:104:13: warning[-Wold-style-definition]: old-style function definition
# 102| unsigned len));
# 103|
# 104|-> int ZEXPORT inflateResetKeep(strm)
# 105| z_streamp strm;
# 106| {
Error: COMPILER_WARNING:
rsync-3.4.1/zlib/inflate.c: scope_hint: In function ‘inflateReset’
rsync-3.4.1/zlib/inflate.c:129:13: warning[-Wold-style-definition]: old-style function definition
# 129 | int ZEXPORT inflateReset(strm)
# | ^~~~~~~~~~~~
# 127| }
# 128|
# 129|-> int ZEXPORT inflateReset(strm)
# 130| z_streamp strm;
# 131| {
Error: COMPILER_WARNING:
rsync-3.4.1/zlib/inflate.c:129:13: warning[-Wold-style-definition]: old-style function definition
# 127| }
# 128|
# 129|-> int ZEXPORT inflateReset(strm)
# 130| z_streamp strm;
# 131| {
Error: COMPILER_WARNING:
rsync-3.4.1/zlib/inflate.c: scope_hint: In function ‘inflateReset2’
rsync-3.4.1/zlib/inflate.c:142:13: warning[-Wold-style-definition]: old-style function definition
# 142 | int ZEXPORT inflateReset2(strm, windowBits)
# | ^~~~~~~~~~~~~
# 140| }
# 141|
# 142|-> int ZEXPORT inflateReset2(strm, windowBits)
# 143| z_streamp strm;
# 144| int windowBits;
Error: COMPILER_WARNING:
rsync-3.4.1/zlib/inflate.c:142:13: warning[-Wold-style-definition]: old-style function definition
# 140| }
# 141|
# 142|-> int ZEXPORT inflateReset2(strm, windowBits)
# 143| z_streamp strm;
# 144| int windowBits;
Error: COMPILER_WARNING:
rsync-3.4.1/zlib/inflate.c: scope_hint: In function ‘inflateInit2_’
rsync-3.4.1/zlib/inflate.c:180:13: warning[-Wold-style-definition]: old-style function definition
# 180 | int ZEXPORT inflateInit2_(strm, windowBits, version, stream_size)
# | ^~~~~~~~~~~~~
# 178| }
# 179|
# 180|-> int ZEXPORT inflateInit2_(strm, windowBits, version, stream_size)
# 181| z_streamp strm;
# 182| int windowBits;
Error: COMPILER_WARNING:
rsync-3.4.1/zlib/inflate.c:180:13: warning[-Wold-style-definition]: old-style function definition
# 178| }
# 179|
# 180|-> int ZEXPORT inflateInit2_(strm, windowBits, version, stream_size)
# 181| z_streamp strm;
# 182| int windowBits;
Error: COMPILER_WARNING:
rsync-3.4.1/zlib/inflate.c: scope_hint: In function ‘inflateInit_’
rsync-3.4.1/zlib/inflate.c:222:13: warning[-Wold-style-definition]: old-style function definition
# 222 | int ZEXPORT inflateInit_(strm, version, stream_size)
# | ^~~~~~~~~~~~
# 220| }
# 221|
# 222|-> int ZEXPORT inflateInit_(strm, version, stream_size)
# 223| z_streamp strm;
# 224| const char *version;
Error: COMPILER_WARNING:
rsync-3.4.1/zlib/inflate.c:222:13: warning[-Wold-style-definition]: old-style function definition
# 220| }
# 221|
# 222|-> int ZEXPORT inflateInit_(strm, version, stream_size)
# 223| z_streamp strm;
# 224| const char *version;
Error: COMPILER_WARNING:
rsync-3.4.1/zlib/inflate.c: scope_hint: In function ‘inflatePrime’
rsync-3.4.1/zlib/inflate.c:230:13: warning[-Wold-style-definition]: old-style function definition
# 230 | int ZEXPORT inflatePrime(strm, bits, value)
# | ^~~~~~~~~~~~
# 228| }
# 229|
# 230|-> int ZEXPORT inflatePrime(strm, bits, value)
# 231| z_streamp strm;
# 232| int bits;
Error: COMPILER_WARNING:
rsync-3.4.1/zlib/inflate.c:230:13: warning[-Wold-style-definition]: old-style function definition
# 228| }
# 229|
# 230|-> int ZEXPORT inflatePrime(strm, bits, value)
# 231| z_streamp strm;
# 232| int bits;
Error: COMPILER_WARNING:
rsync-3.4.1/zlib/inflate.c: scope_hint: In function ‘fixedtables’
rsync-3.4.1/zlib/inflate.c:261:12: warning[-Wold-style-definition]: old-style function definition
# 261 | local void fixedtables(state)
# | ^~~~~~~~~~~
# 259| may not be thread-safe.
# 260| */
# 261|-> local void fixedtables(state)
# 262| struct inflate_state FAR *state;
# 263| {
Error: COMPILER_WARNING:
rsync-3.4.1/zlib/inflate.c:261:12: warning[-Wold-style-definition]: old-style function definition
# 259| may not be thread-safe.
# 260| */
# 261|-> local void fixedtables(state)
# 262| struct inflate_state FAR *state;
# 263| {
Error: COMPILER_WARNING:
rsync-3.4.1/zlib/inflate.c: scope_hint: In function ‘updatewindow’
rsync-3.4.1/zlib/inflate.c:379:11: warning[-Wold-style-definition]: old-style function definition
# 379 | local int updatewindow(strm, end, copy)
# | ^~~~~~~~~~~~
# 377| The advantage may be dependent on the size of the processor's data caches.
# 378| */
# 379|-> local int updatewindow(strm, end, copy)
# 380| z_streamp strm;
# 381| const Bytef *end;
Error: COMPILER_WARNING:
rsync-3.4.1/zlib/inflate.c:379:11: warning[-Wold-style-definition]: old-style function definition
# 377| The advantage may be dependent on the size of the processor's data caches.
# 378| */
# 379|-> local int updatewindow(strm, end, copy)
# 380| z_streamp strm;
# 381| const Bytef *end;
Error: COMPILER_WARNING:
rsync-3.4.1/zlib/inflate.c: scope_hint: In function ‘inflate’
rsync-3.4.1/zlib/inflate.c:605:13: warning[-Wold-style-definition]: old-style function definition
# 605 | int ZEXPORT inflate(strm, flush)
# | ^~~~~~~
# 603| */
# 604|
# 605|-> int ZEXPORT inflate(strm, flush)
# 606| z_streamp strm;
# 607| int flush;
Error: COMPILER_WARNING:
rsync-3.4.1/zlib/inflate.c:605:13: warning[-Wold-style-definition]: old-style function definition
# 603| */
# 604|
# 605|-> int ZEXPORT inflate(strm, flush)
# 606| z_streamp strm;
# 607| int flush;
Error: COMPILER_WARNING:
rsync-3.4.1/zlib/inflate.c: scope_hint: In function ‘inflateEnd’
rsync-3.4.1/zlib/inflate.c:1277:13: warning[-Wold-style-definition]: old-style function definition
# 1277 | int ZEXPORT inflateEnd(strm)
# | ^~~~~~~~~~
# 1275| }
# 1276|
# 1277|-> int ZEXPORT inflateEnd(strm)
# 1278| z_streamp strm;
# 1279| {
Error: COMPILER_WARNING:
rsync-3.4.1/zlib/inflate.c:1277:13: warning[-Wold-style-definition]: old-style function definition
# 1275| }
# 1276|
# 1277|-> int ZEXPORT inflateEnd(strm)
# 1278| z_streamp strm;
# 1279| {
Error: COMPILER_WARNING:
rsync-3.4.1/zlib/inflate.c: scope_hint: In function ‘inflateGetDictionary’
rsync-3.4.1/zlib/inflate.c:1291:13: warning[-Wold-style-definition]: old-style function definition
# 1291 | int ZEXPORT inflateGetDictionary(strm, dictionary, dictLength)
# | ^~~~~~~~~~~~~~~~~~~~
# 1289| }
# 1290|
# 1291|-> int ZEXPORT inflateGetDictionary(strm, dictionary, dictLength)
# 1292| z_streamp strm;
# 1293| Bytef *dictionary;
Error: COMPILER_WARNING:
rsync-3.4.1/zlib/inflate.c:1291:13: warning[-Wold-style-definition]: old-style function definition
# 1289| }
# 1290|
# 1291|-> int ZEXPORT inflateGetDictionary(strm, dictionary, dictLength)
# 1292| z_streamp strm;
# 1293| Bytef *dictionary;
Error: COMPILER_WARNING:
rsync-3.4.1/zlib/inflate.c: scope_hint: In function ‘inflateSetDictionary’
rsync-3.4.1/zlib/inflate.c:1314:13: warning[-Wold-style-definition]: old-style function definition
# 1314 | int ZEXPORT inflateSetDictionary(strm, dictionary, dictLength)
# | ^~~~~~~~~~~~~~~~~~~~
# 1312| }
# 1313|
# 1314|-> int ZEXPORT inflateSetDictionary(strm, dictionary, dictLength)
# 1315| z_streamp strm;
# 1316| const Bytef *dictionary;
Error: COMPILER_WARNING:
rsync-3.4.1/zlib/inflate.c:1314:13: warning[-Wold-style-definition]: old-style function definition
# 1312| }
# 1313|
# 1314|-> int ZEXPORT inflateSetDictionary(strm, dictionary, dictLength)
# 1315| z_streamp strm;
# 1316| const Bytef *dictionary;
Error: COMPILER_WARNING:
rsync-3.4.1/zlib/inflate.c: scope_hint: In function ‘inflateGetHeader’
rsync-3.4.1/zlib/inflate.c:1349:13: warning[-Wold-style-definition]: old-style function definition
# 1349 | int ZEXPORT inflateGetHeader(strm, head)
# | ^~~~~~~~~~~~~~~~
# 1347| }
# 1348|
# 1349|-> int ZEXPORT inflateGetHeader(strm, head)
# 1350| z_streamp strm;
# 1351| gz_headerp head;
Error: COMPILER_WARNING:
rsync-3.4.1/zlib/inflate.c:1349:13: warning[-Wold-style-definition]: old-style function definition
# 1347| }
# 1348|
# 1349|-> int ZEXPORT inflateGetHeader(strm, head)
# 1350| z_streamp strm;
# 1351| gz_headerp head;
Error: COMPILER_WARNING:
rsync-3.4.1/zlib/inflate.c: scope_hint: In function ‘syncsearch’
rsync-3.4.1/zlib/inflate.c:1377:16: warning[-Wold-style-definition]: old-style function definition
# 1377 | local unsigned syncsearch(have, buf, len)
# | ^~~~~~~~~~
# 1375| zero for the first call.
# 1376| */
# 1377|-> local unsigned syncsearch(have, buf, len)
# 1378| unsigned FAR *have;
# 1379| const unsigned char FAR *buf;
Error: COMPILER_WARNING:
rsync-3.4.1/zlib/inflate.c:1377:16: warning[-Wold-style-definition]: old-style function definition
# 1375| zero for the first call.
# 1376| */
# 1377|-> local unsigned syncsearch(have, buf, len)
# 1378| unsigned FAR *have;
# 1379| const unsigned char FAR *buf;
Error: COMPILER_WARNING:
rsync-3.4.1/zlib/inflate.c: scope_hint: In function ‘inflateSync’
rsync-3.4.1/zlib/inflate.c:1400:13: warning[-Wold-style-definition]: old-style function definition
# 1400 | int ZEXPORT inflateSync(strm)
# | ^~~~~~~~~~~
# 1398| }
# 1399|
# 1400|-> int ZEXPORT inflateSync(strm)
# 1401| z_streamp strm;
# 1402| {
Error: COMPILER_WARNING:
rsync-3.4.1/zlib/inflate.c:1400:13: warning[-Wold-style-definition]: old-style function definition
# 1398| }
# 1399|
# 1400|-> int ZEXPORT inflateSync(strm)
# 1401| z_streamp strm;
# 1402| {
Error: COMPILER_WARNING:
rsync-3.4.1/zlib/inflate.c: scope_hint: In function ‘inflateSyncPoint’
rsync-3.4.1/zlib/inflate.c:1451:13: warning[-Wold-style-definition]: old-style function definition
# 1451 | int ZEXPORT inflateSyncPoint(strm)
# | ^~~~~~~~~~~~~~~~
# 1449| inflate is waiting for these length bytes.
# 1450| */
# 1451|-> int ZEXPORT inflateSyncPoint(strm)
# 1452| z_streamp strm;
# 1453| {
Error: COMPILER_WARNING:
rsync-3.4.1/zlib/inflate.c:1451:13: warning[-Wold-style-definition]: old-style function definition
# 1449| inflate is waiting for these length bytes.
# 1450| */
# 1451|-> int ZEXPORT inflateSyncPoint(strm)
# 1452| z_streamp strm;
# 1453| {
Error: COMPILER_WARNING:
rsync-3.4.1/zlib/inflate.c: scope_hint: In function ‘inflateCopy’
rsync-3.4.1/zlib/inflate.c:1461:13: warning[-Wold-style-definition]: old-style function definition
# 1461 | int ZEXPORT inflateCopy(dest, source)
# | ^~~~~~~~~~~
# 1459| }
# 1460|
# 1461|-> int ZEXPORT inflateCopy(dest, source)
# 1462| z_streamp dest;
# 1463| z_streamp source;
Error: COMPILER_WARNING:
rsync-3.4.1/zlib/inflate.c:1461:13: warning[-Wold-style-definition]: old-style function definition
# 1459| }
# 1460|
# 1461|-> int ZEXPORT inflateCopy(dest, source)
# 1462| z_streamp dest;
# 1463| z_streamp source;
Error: COMPILER_WARNING:
rsync-3.4.1/zlib/inflate.c: scope_hint: In function ‘inflateUndermine’
rsync-3.4.1/zlib/inflate.c:1508:13: warning[-Wold-style-definition]: old-style function definition
# 1508 | int ZEXPORT inflateUndermine(strm, subvert)
# | ^~~~~~~~~~~~~~~~
# 1506| }
# 1507|
# 1508|-> int ZEXPORT inflateUndermine(strm, subvert)
# 1509| z_streamp strm;
# 1510| int subvert;
Error: COMPILER_WARNING:
rsync-3.4.1/zlib/inflate.c:1508:13: warning[-Wold-style-definition]: old-style function definition
# 1506| }
# 1507|
# 1508|-> int ZEXPORT inflateUndermine(strm, subvert)
# 1509| z_streamp strm;
# 1510| int subvert;
Error: COMPILER_WARNING:
rsync-3.4.1/zlib/inflate.c: scope_hint: In function ‘inflateMark’
rsync-3.4.1/zlib/inflate.c:1525:14: warning[-Wold-style-definition]: old-style function definition
# 1525 | long ZEXPORT inflateMark(strm)
# | ^~~~~~~~~~~
# 1523| }
# 1524|
# 1525|-> long ZEXPORT inflateMark(strm)
# 1526| z_streamp strm;
# 1527| {
Error: COMPILER_WARNING:
rsync-3.4.1/zlib/inflate.c:1525:14: warning[-Wold-style-definition]: old-style function definition
# 1523| }
# 1524|
# 1525|-> long ZEXPORT inflateMark(strm)
# 1526| z_streamp strm;
# 1527| {
Error: COMPILER_WARNING:
rsync-3.4.1/zlib/inftrees.c: scope_hint: In function ‘inflate_table’
rsync-3.4.1/zlib/inftrees.c:32:19: warning[-Wold-style-definition]: old-style function definition
# 32 | int ZLIB_INTERNAL inflate_table(type, lens, codes, table, bits, work)
# | ^~~~~~~~~~~~~
# 30| longest code or if it is less than the shortest code.
# 31| */
# 32|-> int ZLIB_INTERNAL inflate_table(type, lens, codes, table, bits, work)
# 33| codetype type;
# 34| unsigned short FAR *lens;
Error: COMPILER_WARNING:
rsync-3.4.1/zlib/inftrees.c:32:19: warning[-Wold-style-definition]: old-style function definition
# 30| longest code or if it is less than the shortest code.
# 31| */
# 32|-> int ZLIB_INTERNAL inflate_table(type, lens, codes, table, bits, work)
# 33| codetype type;
# 34| unsigned short FAR *lens;
Error: COMPILER_WARNING:
rsync-3.4.1/zlib/trees.c: scope_hint: In function ‘_tr_init’
rsync-3.4.1/zlib/trees.c:381:20: warning[-Wold-style-definition]: old-style function definition
# 381 | void ZLIB_INTERNAL _tr_init(s)
# | ^~~~~~~~
# 379| * Initialize the tree data structures for a new zlib stream.
# 380| */
# 381|-> void ZLIB_INTERNAL _tr_init(s)
# 382| deflate_state *s;
# 383| {
Error: COMPILER_WARNING:
rsync-3.4.1/zlib/trees.c:381:20: warning[-Wold-style-definition]: old-style function definition
# 379| * Initialize the tree data structures for a new zlib stream.
# 380| */
# 381|-> void ZLIB_INTERNAL _tr_init(s)
# 382| deflate_state *s;
# 383| {
Error: COMPILER_WARNING:
rsync-3.4.1/zlib/trees.c: scope_hint: In function ‘init_block’
rsync-3.4.1/zlib/trees.c:409:12: warning[-Wold-style-definition]: old-style function definition
# 409 | local void init_block(s)
# | ^~~~~~~~~~
# 407| * Initialize a new block.
# 408| */
# 409|-> local void init_block(s)
# 410| deflate_state *s;
# 411| {
Error: COMPILER_WARNING:
rsync-3.4.1/zlib/trees.c:409:12: warning[-Wold-style-definition]: old-style function definition
# 407| * Initialize a new block.
# 408| */
# 409|-> local void init_block(s)
# 410| deflate_state *s;
# 411| {
Error: COMPILER_WARNING:
rsync-3.4.1/zlib/trees.c: scope_hint: In function ‘pqdownheap’
rsync-3.4.1/zlib/trees.c:453:12: warning[-Wold-style-definition]: old-style function definition
# 453 | local void pqdownheap(s, tree, k)
# | ^~~~~~~~~~
# 451| * two sons).
# 452| */
# 453|-> local void pqdownheap(s, tree, k)
# 454| deflate_state *s;
# 455| ct_data *tree; /* the tree to restore */
Error: COMPILER_WARNING:
rsync-3.4.1/zlib/trees.c:453:12: warning[-Wold-style-definition]: old-style function definition
# 451| * two sons).
# 452| */
# 453|-> local void pqdownheap(s, tree, k)
# 454| deflate_state *s;
# 455| ct_data *tree; /* the tree to restore */
Error: COMPILER_WARNING:
rsync-3.4.1/zlib/trees.c: scope_hint: In function ‘gen_bitlen’
rsync-3.4.1/zlib/trees.c:488:12: warning[-Wold-style-definition]: old-style function definition
# 488 | local void gen_bitlen(s, desc)
# | ^~~~~~~~~~
# 486| * not null.
# 487| */
# 488|-> local void gen_bitlen(s, desc)
# 489| deflate_state *s;
# 490| tree_desc *desc; /* the tree descriptor */
Error: COMPILER_WARNING:
rsync-3.4.1/zlib/trees.c:488:12: warning[-Wold-style-definition]: old-style function definition
# 486| * not null.
# 487| */
# 488|-> local void gen_bitlen(s, desc)
# 489| deflate_state *s;
# 490| tree_desc *desc; /* the tree descriptor */
Error: COMPILER_WARNING:
rsync-3.4.1/zlib/trees.c: scope_hint: In function ‘gen_codes’
rsync-3.4.1/zlib/trees.c:575:12: warning[-Wold-style-definition]: old-style function definition
# 575 | local void gen_codes (tree, max_code, bl_count)
# | ^~~~~~~~~
# 573| * zero code length.
# 574| */
# 575|-> local void gen_codes (tree, max_code, bl_count)
# 576| ct_data *tree; /* the tree to decorate */
# 577| int max_code; /* largest code with non zero frequency */
Error: COMPILER_WARNING:
rsync-3.4.1/zlib/trees.c:575:12: warning[-Wold-style-definition]: old-style function definition
# 573| * zero code length.
# 574| */
# 575|-> local void gen_codes (tree, max_code, bl_count)
# 576| ct_data *tree; /* the tree to decorate */
# 577| int max_code; /* largest code with non zero frequency */
Error: COMPILER_WARNING:
rsync-3.4.1/zlib/trees.c: scope_hint: In function ‘build_tree’
rsync-3.4.1/zlib/trees.c:617:12: warning[-Wold-style-definition]: old-style function definition
# 617 | local void build_tree(s, desc)
# | ^~~~~~~~~~
# 615| * also updated if stree is not null. The field max_code is set.
# 616| */
# 617|-> local void build_tree(s, desc)
# 618| deflate_state *s;
# 619| tree_desc *desc; /* the tree descriptor */
Error: COMPILER_WARNING:
rsync-3.4.1/zlib/trees.c:617:12: warning[-Wold-style-definition]: old-style function definition
# 615| * also updated if stree is not null. The field max_code is set.
# 616| */
# 617|-> local void build_tree(s, desc)
# 618| deflate_state *s;
# 619| tree_desc *desc; /* the tree descriptor */
Error: COMPILER_WARNING:
rsync-3.4.1/zlib/trees.c: scope_hint: In function ‘scan_tree’
rsync-3.4.1/zlib/trees.c:705:12: warning[-Wold-style-definition]: old-style function definition
# 705 | local void scan_tree (s, tree, max_code)
# | ^~~~~~~~~
# 703| * in the bit length tree.
# 704| */
# 705|-> local void scan_tree (s, tree, max_code)
# 706| deflate_state *s;
# 707| ct_data *tree; /* the tree to be scanned */
Error: COMPILER_WARNING:
rsync-3.4.1/zlib/trees.c:705:12: warning[-Wold-style-definition]: old-style function definition
# 703| * in the bit length tree.
# 704| */
# 705|-> local void scan_tree (s, tree, max_code)
# 706| deflate_state *s;
# 707| ct_data *tree; /* the tree to be scanned */
Error: COMPILER_WARNING:
rsync-3.4.1/zlib/trees.c: scope_hint: In function ‘send_tree’
rsync-3.4.1/zlib/trees.c:750:12: warning[-Wold-style-definition]: old-style function definition
# 750 | local void send_tree (s, tree, max_code)
# | ^~~~~~~~~
# 748| * bl_tree.
# 749| */
# 750|-> local void send_tree (s, tree, max_code)
# 751| deflate_state *s;
# 752| ct_data *tree; /* the tree to be scanned */
Error: COMPILER_WARNING:
rsync-3.4.1/zlib/trees.c:750:12: warning[-Wold-style-definition]: old-style function definition
# 748| * bl_tree.
# 749| */
# 750|-> local void send_tree (s, tree, max_code)
# 751| deflate_state *s;
# 752| ct_data *tree; /* the tree to be scanned */
Error: COMPILER_WARNING:
rsync-3.4.1/zlib/trees.c: scope_hint: In function ‘build_bl_tree’
rsync-3.4.1/zlib/trees.c:801:11: warning[-Wold-style-definition]: old-style function definition
# 801 | local int build_bl_tree(s)
# | ^~~~~~~~~~~~~
# 799| * bl_order of the last bit length code to send.
# 800| */
# 801|-> local int build_bl_tree(s)
# 802| deflate_state *s;
# 803| {
Error: COMPILER_WARNING:
rsync-3.4.1/zlib/trees.c:801:11: warning[-Wold-style-definition]: old-style function definition
# 799| * bl_order of the last bit length code to send.
# 800| */
# 801|-> local int build_bl_tree(s)
# 802| deflate_state *s;
# 803| {
Error: COMPILER_WARNING:
rsync-3.4.1/zlib/trees.c: scope_hint: In function ‘send_all_trees’
rsync-3.4.1/zlib/trees.c:836:12: warning[-Wold-style-definition]: old-style function definition
# 836 | local void send_all_trees(s, lcodes, dcodes, blcodes)
# | ^~~~~~~~~~~~~~
# 834| * IN assertion: lcodes >= 257, dcodes >= 1, blcodes >= 4.
# 835| */
# 836|-> local void send_all_trees(s, lcodes, dcodes, blcodes)
# 837| deflate_state *s;
# 838| int lcodes, dcodes, blcodes; /* number of codes for each tree */
Error: COMPILER_WARNING:
rsync-3.4.1/zlib/trees.c:836:12: warning[-Wold-style-definition]: old-style function definition
# 834| * IN assertion: lcodes >= 257, dcodes >= 1, blcodes >= 4.
# 835| */
# 836|-> local void send_all_trees(s, lcodes, dcodes, blcodes)
# 837| deflate_state *s;
# 838| int lcodes, dcodes, blcodes; /* number of codes for each tree */
Error: COMPILER_WARNING:
rsync-3.4.1/zlib/trees.c: scope_hint: In function ‘_tr_stored_block’
rsync-3.4.1/zlib/trees.c:865:20: warning[-Wold-style-definition]: old-style function definition
# 865 | void ZLIB_INTERNAL _tr_stored_block(s, buf, stored_len, last)
# | ^~~~~~~~~~~~~~~~
# 863| * Send a stored block
# 864| */
# 865|-> void ZLIB_INTERNAL _tr_stored_block(s, buf, stored_len, last)
# 866| deflate_state *s;
# 867| charf *buf; /* input block */
Error: COMPILER_WARNING:
rsync-3.4.1/zlib/trees.c:865:20: warning[-Wold-style-definition]: old-style function definition
# 863| * Send a stored block
# 864| */
# 865|-> void ZLIB_INTERNAL _tr_stored_block(s, buf, stored_len, last)
# 866| deflate_state *s;
# 867| charf *buf; /* input block */
Error: COMPILER_WARNING:
rsync-3.4.1/zlib/trees.c: scope_hint: In function ‘_tr_flush_bits’
rsync-3.4.1/zlib/trees.c:882:20: warning[-Wold-style-definition]: old-style function definition
# 882 | void ZLIB_INTERNAL _tr_flush_bits(s)
# | ^~~~~~~~~~~~~~
# 880| * Flush the bits in the bit buffer to pending output (leaves at most 7 bits)
# 881| */
# 882|-> void ZLIB_INTERNAL _tr_flush_bits(s)
# 883| deflate_state *s;
# 884| {
Error: COMPILER_WARNING:
rsync-3.4.1/zlib/trees.c:882:20: warning[-Wold-style-definition]: old-style function definition
# 880| * Flush the bits in the bit buffer to pending output (leaves at most 7 bits)
# 881| */
# 882|-> void ZLIB_INTERNAL _tr_flush_bits(s)
# 883| deflate_state *s;
# 884| {
Error: COMPILER_WARNING:
rsync-3.4.1/zlib/trees.c: scope_hint: In function ‘_tr_align’
rsync-3.4.1/zlib/trees.c:892:20: warning[-Wold-style-definition]: old-style function definition
# 892 | void ZLIB_INTERNAL _tr_align(s)
# | ^~~~~~~~~
# 890| * This takes 10 bits, of which 7 may remain in the bit buffer.
# 891| */
# 892|-> void ZLIB_INTERNAL _tr_align(s)
# 893| deflate_state *s;
# 894| {
Error: COMPILER_WARNING:
rsync-3.4.1/zlib/trees.c:892:20: warning[-Wold-style-definition]: old-style function definition
# 890| * This takes 10 bits, of which 7 may remain in the bit buffer.
# 891| */
# 892|-> void ZLIB_INTERNAL _tr_align(s)
# 893| deflate_state *s;
# 894| {
Error: COMPILER_WARNING:
rsync-3.4.1/zlib/trees.c: scope_hint: In function ‘_tr_flush_block’
rsync-3.4.1/zlib/trees.c:907:20: warning[-Wold-style-definition]: old-style function definition
# 907 | void ZLIB_INTERNAL _tr_flush_block(s, buf, stored_len, last)
# | ^~~~~~~~~~~~~~~
# 905| * trees or store, and output the encoded block to the zip file.
# 906| */
# 907|-> void ZLIB_INTERNAL _tr_flush_block(s, buf, stored_len, last)
# 908| deflate_state *s;
# 909| charf *buf; /* input block, or NULL if too old */
Error: COMPILER_WARNING:
rsync-3.4.1/zlib/trees.c:907:20: warning[-Wold-style-definition]: old-style function definition
# 905| * trees or store, and output the encoded block to the zip file.
# 906| */
# 907|-> void ZLIB_INTERNAL _tr_flush_block(s, buf, stored_len, last)
# 908| deflate_state *s;
# 909| charf *buf; /* input block, or NULL if too old */
Error: COMPILER_WARNING:
rsync-3.4.1/zlib/trees.c: scope_hint: In function ‘_tr_tally’
rsync-3.4.1/zlib/trees.c:1010:19: warning[-Wold-style-definition]: old-style function definition
# 1010 | int ZLIB_INTERNAL _tr_tally (s, dist, lc)
# | ^~~~~~~~~
# 1008| * the current block must be flushed.
# 1009| */
# 1010|-> int ZLIB_INTERNAL _tr_tally (s, dist, lc)
# 1011| deflate_state *s;
# 1012| unsigned dist; /* distance of matched string */
Error: COMPILER_WARNING:
rsync-3.4.1/zlib/trees.c:1010:19: warning[-Wold-style-definition]: old-style function definition
# 1008| * the current block must be flushed.
# 1009| */
# 1010|-> int ZLIB_INTERNAL _tr_tally (s, dist, lc)
# 1011| deflate_state *s;
# 1012| unsigned dist; /* distance of matched string */
Error: COMPILER_WARNING:
rsync-3.4.1/zlib/trees.c: scope_hint: In function ‘compress_block’
rsync-3.4.1/zlib/trees.c:1038:12: warning[-Wold-style-definition]: old-style function definition
# 1038 | local void compress_block(s, ltree, dtree)
# | ^~~~~~~~~~~~~~
# 1036| * Send the block data compressed using the given Huffman trees
# 1037| */
# 1038|-> local void compress_block(s, ltree, dtree)
# 1039| deflate_state *s;
# 1040| const ct_data *ltree; /* literal tree */
Error: COMPILER_WARNING:
rsync-3.4.1/zlib/trees.c:1038:12: warning[-Wold-style-definition]: old-style function definition
# 1036| * Send the block data compressed using the given Huffman trees
# 1037| */
# 1038|-> local void compress_block(s, ltree, dtree)
# 1039| deflate_state *s;
# 1040| const ct_data *ltree; /* literal tree */
Error: COMPILER_WARNING:
rsync-3.4.1/zlib/trees.c: scope_hint: In function ‘detect_data_type’
rsync-3.4.1/zlib/trees.c:1098:11: warning[-Wold-style-definition]: old-style function definition
# 1098 | local int detect_data_type(s)
# | ^~~~~~~~~~~~~~~~
# 1096| * IN assertion: the fields Freq of dyn_ltree are set.
# 1097| */
# 1098|-> local int detect_data_type(s)
# 1099| deflate_state *s;
# 1100| {
Error: COMPILER_WARNING:
rsync-3.4.1/zlib/trees.c:1098:11: warning[-Wold-style-definition]: old-style function definition
# 1096| * IN assertion: the fields Freq of dyn_ltree are set.
# 1097| */
# 1098|-> local int detect_data_type(s)
# 1099| deflate_state *s;
# 1100| {
Error: COMPILER_WARNING:
rsync-3.4.1/zlib/trees.c: scope_hint: In function ‘bi_reverse’
rsync-3.4.1/zlib/trees.c:1132:16: warning[-Wold-style-definition]: old-style function definition
# 1132 | local unsigned bi_reverse(code, len)
# | ^~~~~~~~~~
# 1130| * IN assertion: 1 <= len <= 15
# 1131| */
# 1132|-> local unsigned bi_reverse(code, len)
# 1133| unsigned code; /* the value to invert */
# 1134| int len; /* its bit length */
Error: COMPILER_WARNING:
rsync-3.4.1/zlib/trees.c:1132:16: warning[-Wold-style-definition]: old-style function definition
# 1130| * IN assertion: 1 <= len <= 15
# 1131| */
# 1132|-> local unsigned bi_reverse(code, len)
# 1133| unsigned code; /* the value to invert */
# 1134| int len; /* its bit length */
Error: COMPILER_WARNING:
rsync-3.4.1/zlib/trees.c: scope_hint: In function ‘bi_flush’
rsync-3.4.1/zlib/trees.c:1147:12: warning[-Wold-style-definition]: old-style function definition
# 1147 | local void bi_flush(s)
# | ^~~~~~~~
# 1145| * Flush the bit buffer, keeping at most 7 bits in it.
# 1146| */
# 1147|-> local void bi_flush(s)
# 1148| deflate_state *s;
# 1149| {
Error: COMPILER_WARNING:
rsync-3.4.1/zlib/trees.c:1147:12: warning[-Wold-style-definition]: old-style function definition
# 1145| * Flush the bit buffer, keeping at most 7 bits in it.
# 1146| */
# 1147|-> local void bi_flush(s)
# 1148| deflate_state *s;
# 1149| {
Error: COMPILER_WARNING:
rsync-3.4.1/zlib/trees.c: scope_hint: In function ‘bi_windup’
rsync-3.4.1/zlib/trees.c:1164:12: warning[-Wold-style-definition]: old-style function definition
# 1164 | local void bi_windup(s)
# | ^~~~~~~~~
# 1162| * Flush the bit buffer and align the output on a byte boundary
# 1163| */
# 1164|-> local void bi_windup(s)
# 1165| deflate_state *s;
# 1166| {
Error: COMPILER_WARNING:
rsync-3.4.1/zlib/trees.c:1164:12: warning[-Wold-style-definition]: old-style function definition
# 1162| * Flush the bit buffer and align the output on a byte boundary
# 1163| */
# 1164|-> local void bi_windup(s)
# 1165| deflate_state *s;
# 1166| {
Error: COMPILER_WARNING:
rsync-3.4.1/zlib/trees.c: scope_hint: In function ‘copy_block’
rsync-3.4.1/zlib/trees.c:1183:12: warning[-Wold-style-definition]: old-style function definition
# 1183 | local void copy_block(s, buf, len, header)
# | ^~~~~~~~~~
# 1181| * one's complement if requested.
# 1182| */
# 1183|-> local void copy_block(s, buf, len, header)
# 1184| deflate_state *s;
# 1185| charf *buf; /* the input data */
Error: COMPILER_WARNING:
rsync-3.4.1/zlib/trees.c:1183:12: warning[-Wold-style-definition]: old-style function definition
# 1181| * one's complement if requested.
# 1182| */
# 1183|-> local void copy_block(s, buf, len, header)
# 1184| deflate_state *s;
# 1185| charf *buf; /* the input data */
Error: COMPILER_WARNING:
rsync-3.4.1/zlib/zutil.c: scope_hint: In function ‘zError’
rsync-3.4.1/zlib/zutil.c:136:22: warning[-Wold-style-definition]: old-style function definition
# 136 | const char * ZEXPORT zError(err)
# | ^~~~~~
# 134| * uncompress()
# 135| */
# 136|-> const char * ZEXPORT zError(err)
# 137| int err;
# 138| {
Error: COMPILER_WARNING:
rsync-3.4.1/zlib/zutil.c:136:22: warning[-Wold-style-definition]: old-style function definition
# 134| * uncompress()
# 135| */
# 136|-> const char * ZEXPORT zError(err)
# 137| int err;
# 138| {
Error: COMPILER_WARNING:
rsync-3.4.1/zlib/zutil.c: scope_hint: In function ‘zcalloc’
rsync-3.4.1/zlib/zutil.c:304:22: warning[-Wold-style-definition]: old-style function definition
# 304 | voidpf ZLIB_INTERNAL zcalloc (opaque, items, size)
# | ^~~~~~~
# 302| #endif
# 303|
# 304|-> voidpf ZLIB_INTERNAL zcalloc (opaque, items, size)
# 305| voidpf opaque;
# 306| unsigned items;
Error: COMPILER_WARNING:
rsync-3.4.1/zlib/zutil.c:304:22: warning[-Wold-style-definition]: old-style function definition
# 302| #endif
# 303|
# 304|-> voidpf ZLIB_INTERNAL zcalloc (opaque, items, size)
# 305| voidpf opaque;
# 306| unsigned items;
Error: COMPILER_WARNING:
rsync-3.4.1/zlib/zutil.c: scope_hint: In function ‘zcfree’
rsync-3.4.1/zlib/zutil.c:314:20: warning[-Wold-style-definition]: old-style function definition
# 314 | void ZLIB_INTERNAL zcfree (opaque, ptr)
# | ^~~~~~
# 312| }
# 313|
# 314|-> void ZLIB_INTERNAL zcfree (opaque, ptr)
# 315| voidpf opaque;
# 316| voidpf ptr;
Error: COMPILER_WARNING:
rsync-3.4.1/zlib/zutil.c:314:20: warning[-Wold-style-definition]: old-style function definition
# 312| }
# 313|
# 314|-> void ZLIB_INTERNAL zcfree (opaque, ptr)
# 315| voidpf opaque;
# 316| voidpf ptr;