From 0dea013c25f0871a934cbea892d36c3222a927cc Mon Sep 17 00:00:00 2001 From: Brian Wellington Date: Wed, 28 Feb 2001 20:54:03 +0000 Subject: [PATCH] add an ISC_FORMAT_PRINTF qualifier to cfg_obj_log(). --- lib/isccfg/include/isccfg/cfg.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/lib/isccfg/include/isccfg/cfg.h b/lib/isccfg/include/isccfg/cfg.h index 72fdc9fe31..237f4d6917 100644 --- a/lib/isccfg/include/isccfg/cfg.h +++ b/lib/isccfg/include/isccfg/cfg.h @@ -15,7 +15,7 @@ * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: cfg.h,v 1.17 2001/02/27 01:49:46 bwelling Exp $ */ +/* $Id: cfg.h,v 1.18 2001/02/28 20:54:03 bwelling Exp $ */ #ifndef DNS_CFG_H #define DNS_CFG_H 1 @@ -33,6 +33,7 @@ *** Imports ***/ +#include #include #include #include @@ -359,8 +360,8 @@ void cfg_obj_destroy(cfg_parser_t *pctx, cfg_obj_t **obj); */ void -cfg_obj_log(cfg_obj_t *obj, isc_log_t *lctx, int level, - const char *fmt, ...); +cfg_obj_log(cfg_obj_t *obj, isc_log_t *lctx, int level, const char *fmt, ...) + ISC_FORMAT_PRINTF(4, 5); /* * Log a message concerning configuration object 'obj' to the logging * channel of 'pctx', at log level 'level'. The message will be prefixed