summaryrefslogtreecommitdiffstats
path: root/usr.bin/dig/lib/isccfg/parser.c
diff options
context:
space:
mode:
authorflorian <florian@openbsd.org>2020-02-13 16:57:55 +0000
committerflorian <florian@openbsd.org>2020-02-13 16:57:55 +0000
commit87f06ebfa2676f5f3be9c0bb649f609d4128e018 (patch)
treeb0d3a3c826fea02c9d3edb409cac934535efeca4 /usr.bin/dig/lib/isccfg/parser.c
parentunifdef CHECK; not sure why cppcheck would only trip over this macro, (diff)
downloadwireguard-openbsd-87f06ebfa2676f5f3be9c0bb649f609d4128e018.tar.xz
wireguard-openbsd-87f06ebfa2676f5f3be9c0bb649f609d4128e018.zip
expand ISC_FORMAT_PRINTF and get rid of formatcheck.h
Diffstat (limited to 'usr.bin/dig/lib/isccfg/parser.c')
-rw-r--r--usr.bin/dig/lib/isccfg/parser.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/dig/lib/isccfg/parser.c b/usr.bin/dig/lib/isccfg/parser.c
index bbf60dec064..3da419a7adc 100644
--- a/usr.bin/dig/lib/isccfg/parser.c
+++ b/usr.bin/dig/lib/isccfg/parser.c
@@ -20,7 +20,7 @@
#include <stdlib.h>
#include <string.h>
-#include <isc/formatcheck.h>
+
#include <isc/lex.h>
#include <isc/log.h>
#include <isc/symtab.h>
@@ -114,7 +114,7 @@ cfg_parse_obj(cfg_parser_t *pctx, const cfg_type_t *type, cfg_obj_t **ret);
static void
cfg_parser_error(cfg_parser_t *pctx, unsigned int flags,
- const char *fmt, ...) ISC_FORMAT_PRINTF(3, 4);
+ const char *fmt, ...) __attribute__((__format__(__printf__, 3, 4)));
static void
free_list(cfg_parser_t *pctx, cfg_obj_t *obj);