summaryrefslogtreecommitdiff
path: root/usr.sbin/smtpd/smtpd.h
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/smtpd/smtpd.h')
-rw-r--r--usr.sbin/smtpd/smtpd.h14
1 files changed, 9 insertions, 5 deletions
diff --git a/usr.sbin/smtpd/smtpd.h b/usr.sbin/smtpd/smtpd.h
index e9656702fd0..62710a22d7a 100644
--- a/usr.sbin/smtpd/smtpd.h
+++ b/usr.sbin/smtpd/smtpd.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: smtpd.h,v 1.18 2008/12/04 01:16:14 gilles Exp $ */
+/* $OpenBSD: smtpd.h,v 1.19 2008/12/04 17:24:13 cloder Exp $ */
/*
* Copyright (c) 2008 Gilles Chehade <gilles@openbsd.org>
@@ -649,10 +649,14 @@ int aliases_virtual_get(struct smtpd *, struct aliaseslist *, struct path *);
/* log.c */
void log_init(int);
-void log_warn(const char *, ...);
-void log_warnx(const char *, ...);
-void log_info(const char *, ...);
-void log_debug(const char *, ...);
+void log_warn(const char *, ...)
+ __attribute__ ((format (printf, 1, 2)));
+void log_warnx(const char *, ...)
+ __attribute__ ((format (printf, 1, 2)));
+void log_info(const char *, ...)
+ __attribute__ ((format (printf, 1, 2)));
+void log_debug(const char *, ...)
+ __attribute__ ((format (printf, 1, 2)));
__dead void fatal(const char *);
__dead void fatalx(const char *);