From 68b95de475412fc4a8d4d612e8585724e46016f8 Mon Sep 17 00:00:00 2001 From: joerg Date: Fri, 30 Jan 2015 00:07:06 +0000 Subject: [PATCH] Add missing __printflike --- external/bsd/libevent/dist/log.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/external/bsd/libevent/dist/log.c b/external/bsd/libevent/dist/log.c index dec3e3361a9b..8430ce567861 100644 --- a/external/bsd/libevent/dist/log.c +++ b/external/bsd/libevent/dist/log.c @@ -1,4 +1,4 @@ -/* $NetBSD: log.c,v 1.3 2015/01/29 07:26:02 spz Exp $ */ +/* $NetBSD: log.c,v 1.4 2015/01/30 00:07:06 joerg Exp $ */ /* $OpenBSD: err.c,v 1.2 2002/06/25 15:50:15 mickey Exp $ */ /* @@ -40,7 +40,7 @@ #include "event2/event-config.h" #include -__RCSID("$NetBSD: log.c,v 1.3 2015/01/29 07:26:02 spz Exp $"); +__RCSID("$NetBSD: log.c,v 1.4 2015/01/30 00:07:06 joerg Exp $"); #ifdef WIN32 #include @@ -60,7 +60,7 @@ __RCSID("$NetBSD: log.c,v 1.3 2015/01/29 07:26:02 spz Exp $"); #include "log-internal.h" static void _warn_helper(int severity, const char *errstr, const char *fmt, - va_list ap); + va_list ap) __printflike(3, 0); static void event_log(int severity, const char *msg); static void event_exit(int errcode) EV_NORETURN;