Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/bsd/libevent/dist Add missing __printflike



details:   https://anonhg.NetBSD.org/src/rev/d363d005ab06
branches:  trunk
changeset: 335919:d363d005ab06
user:      joerg <joerg%NetBSD.org@localhost>
date:      Fri Jan 30 00:07:06 2015 +0000

description:
Add missing __printflike

diffstat:

 external/bsd/libevent/dist/log.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 5c33eb16b2aa -r d363d005ab06 external/bsd/libevent/dist/log.c
--- a/external/bsd/libevent/dist/log.c  Thu Jan 29 23:14:48 2015 +0000
+++ b/external/bsd/libevent/dist/log.c  Fri Jan 30 00:07:06 2015 +0000
@@ -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 <sys/cdefs.h>
-__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 <winsock2.h>
@@ -60,7 +60,7 @@
 #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;
 



Home | Main Index | Thread Index | Old Index