Add missing __printflike
This commit is contained in:
parent
7a671bdb7e
commit
68b95de475
|
@ -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 @@ __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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue