From: jsg Date: Wed, 6 Sep 2023 04:57:28 +0000 (+0000) Subject: add void to function decls with no args X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=a83f8be2ec25734e16d7192d1e3678acc8034cba;p=openbsd add void to function decls with no args --- diff --git a/usr.bin/dig/dig.c b/usr.bin/dig/dig.c index 11d65645f1d..a23bcbeb4d9 100644 --- a/usr.bin/dig/dig.c +++ b/usr.bin/dig/dig.c @@ -14,7 +14,7 @@ * PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: dig.c,v 1.19 2020/12/20 11:27:47 florian Exp $ */ +/* $Id: dig.c,v 1.20 2023/09/06 04:57:28 jsg Exp $ */ /*! \file */ #include @@ -1924,7 +1924,7 @@ void dig_query_setup(int is_batchfile, int config_only, } } -void dig_startup() { +void dig_startup(void) { isc_result_t result; debug("dig_startup()"); @@ -1935,7 +1935,7 @@ void dig_startup() { } void -dig_shutdown() { +dig_shutdown(void) { destroy_lookup(default_lookup); if (batchname != NULL) { if (batchfp != stdin)