diff options
| author | 2020-02-13 16:57:55 +0000 | |
|---|---|---|
| committer | 2020-02-13 16:57:55 +0000 | |
| commit | 87f06ebfa2676f5f3be9c0bb649f609d4128e018 (patch) | |
| tree | b0d3a3c826fea02c9d3edb409cac934535efeca4 /usr.bin/dig/lib/isc/error.c | |
| parent | unifdef CHECK; not sure why cppcheck would only trip over this macro, (diff) | |
| download | wireguard-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/isc/error.c')
| -rw-r--r-- | usr.bin/dig/lib/isc/error.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/dig/lib/isc/error.c b/usr.bin/dig/lib/isc/error.c index fb8d1724d03..92840b3dc5f 100644 --- a/usr.bin/dig/lib/isc/error.c +++ b/usr.bin/dig/lib/isc/error.c @@ -14,7 +14,7 @@ * PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: error.c,v 1.3 2020/02/12 13:05:04 jsg Exp $ */ +/* $Id: error.c,v 1.4 2020/02/13 16:57:55 florian Exp $ */ /*! \file */ @@ -28,12 +28,12 @@ /*% Default unexpected callback. */ static void default_unexpected_callback(const char *, int, const char *, va_list) - ISC_FORMAT_PRINTF(3, 0); + __attribute__((__format__(__printf__, 3, 0))); /*% Default fatal callback. */ static void default_fatal_callback(const char *, int, const char *, va_list) - ISC_FORMAT_PRINTF(3, 0); + __attribute__((__format__(__printf__, 3, 0))); /*% unexpected_callback */ static isc_errorcallback_t unexpected_callback = default_unexpected_callback; |
