diff --git a/bin/delve/delve.c b/bin/delve/delve.c index efca9ee3b3..44e8fca0ac 100644 --- a/bin/delve/delve.c +++ b/bin/delve/delve.c @@ -191,6 +191,10 @@ usage(void) { exit(1); } +ISC_PLATFORM_NORETURN_PRE static void +fatal(const char *format, ...) +ISC_FORMAT_PRINTF(1, 2) ISC_PLATFORM_NORETURN_POST; + static void fatal(const char *format, ...) { va_list args; @@ -204,6 +208,9 @@ fatal(const char *format, ...) { exit(1); } +static void +warn(const char *format, ...) ISC_FORMAT_PRINTF(1, 2); + static void warn(const char *format, ...) { va_list args; @@ -228,6 +235,9 @@ static isc_logmodule_t modules[] = { { NULL, 0 } }; +static void +delve_log(int level, const char *fmt, ...) ISC_FORMAT_PRINTF(2, 3); + static void delve_log(int level, const char *fmt, ...) { va_list ap;