From a83f8be2ec25734e16d7192d1e3678acc8034cba Mon Sep 17 00:00:00 2001 From: jsg Date: Wed, 6 Sep 2023 04:57:28 +0000 Subject: [PATCH] add void to function decls with no args --- usr.bin/dig/dig.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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) -- 2.20.1