]> git.ipfire.org Git - thirdparty/krb5.git/commit
Avoid strict-prototype compiler errors 1327/head
authorSteffen Kieß <steffen.kiess@cis.iti.uni-stuttgart.de>
Tue, 13 Feb 2024 17:39:27 +0000 (18:39 +0100)
committerGreg Hudson <ghudson@mit.edu>
Tue, 13 Feb 2024 22:12:32 +0000 (17:12 -0500)
commit3ae9244cd021a75eba909d872a92c25db490714d
tree7ce5bbbad05458875b8cd3a59828d99d3fb30d79
parentf5ad07bd3b1242ab75dcbc91627bd96aaeec87cd
Avoid strict-prototype compiler errors

Commit 4b9d7f7c107f01a61600fddcd8cde3812d0366a2 added the
-Werror=strict-prototypes parameter to the build process, but left
behind 28 function definitions using "()" instead of "(void)".  Most
of these definitions could not cause compiler errors for various
reasons (such as an accompanying prototype), but a few could cause
errors in gcc depending on the build configuration.

For consistency and safety, add "(void)" to all 28 definitions.

[ghudson@mit.edu: rewrote commit message]
21 files changed:
src/clients/kcpytkt/kcpytkt.c
src/clients/kdeltkt/kdeltkt.c
src/clients/kinit/kinit.c
src/clients/kinit/kinit_kdb.c
src/clients/klist/klist.c
src/kadmin/cli/kadmin.c
src/kadmin/dbutil/kdb5_util.c
src/kdc/main.c
src/kprop/kpropd.c
src/lib/crypto/builtin/enc_provider/aes.c
src/lib/crypto/openssl/hmac.c
src/lib/krb5/ccache/t_memory.c
src/lib/krb5/ccache/t_stdio.c
src/plugins/kdb/db2/libdb2/btree/bt_debug.c
src/plugins/kdb/db2/libdb2/btree/bt_open.c
src/plugins/kdb/db2/libdb2/hash/dbm.c
src/plugins/kdb/db2/libdb2/test/btree.tests/main.c
src/plugins/kdb/db2/libdb2/test/dbtest.c
src/plugins/preauth/pkinit/pkinit_crypto_openssl.c
src/plugins/tls/k5tls/openssl.c
src/tests/asn.1/make-vectors.c