]> 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)
committerAmos Jeffries <yadij@users.noreply.github.com>
Thu, 23 Feb 2023 12:34:13 +0000 (01:34 +1300)
commitbc3cada6edbfb69639a1be0dafbf3dce21fec111
tree8c6f588aed40ddcdfb483ffd93564541acc78018
parent9d1a5d20d027d6f262792b528a75d7c29eab643e
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