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/unix/socket.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/unix/socket.c')
| -rw-r--r-- | usr.bin/dig/lib/isc/unix/socket.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/dig/lib/isc/unix/socket.c b/usr.bin/dig/lib/isc/unix/socket.c index 38f0f87ad7e..b3985ccbe7f 100644 --- a/usr.bin/dig/lib/isc/unix/socket.c +++ b/usr.bin/dig/lib/isc/unix/socket.c @@ -31,7 +31,7 @@ #include <isc/buffer.h> #include <isc/bufferlist.h> -#include <isc/formatcheck.h> + #include <isc/list.h> #include <isc/log.h> #include <isc/net.h> @@ -329,7 +329,7 @@ enum { static void socket_log(isc__socket_t *sock, isc_sockaddr_t *address, isc_logcategory_t *category, isc_logmodule_t *module, int level, - const char *fmt, ...) ISC_FORMAT_PRINTF(6, 7); + const char *fmt, ...) __attribute__((__format__(__printf__, 6, 7))); static void socket_log(isc__socket_t *sock, isc_sockaddr_t *address, isc_logcategory_t *category, isc_logmodule_t *module, int level, |
