]> git.ipfire.org Git - thirdparty/squid.git/commit
Fix build with clang v15.0.6 [-Wdeprecated-non-prototype] (#1246)
authorgkinkie@gmail.com <kinkie@squid-cache.org>
Wed, 25 Jan 2023 15:00:42 +0000 (15:00 +0000)
committerSquid Anubis <squid-anubis@squid-cache.org>
Fri, 27 Jan 2023 12:19:42 +0000 (12:19 +0000)
commit43e0e506903f9a7049269b6c3a1a2818bc789ab1
treeef6a4d449fe916b36be418e92fa49c64ec7f384d
parentb8ae064d94784934b3402e5db015246d1b1ca658
Fix build with clang v15.0.6 [-Wdeprecated-non-prototype] (#1246)

clang v15.0.6 distributed with Fedora Rawhide complains about function
definitions using K&R style:

    lib/snmplib/mib.c:229:1: error: a function definition without a
    prototype is deprecated in all versions of C and is not supported in
    C2x [-Werror,-Wdeprecated-non-prototype]
lib/snmplib/mib.c
lib/snmplib/snmp_api.c