summaryrefslogtreecommitdiffstats
path: root/usr.bin/mandoc/html.h
diff options
context:
space:
mode:
authorschwarze <schwarze@openbsd.org>2016-07-19 13:30:16 +0000
committerschwarze <schwarze@openbsd.org>2016-07-19 13:30:16 +0000
commit57c6a104c13c862b24b580195806a9b0fee7e843 (patch)
tree75440af5314f75433c7a37f083d6b5bdca9fac17 /usr.bin/mandoc/html.h
parenttweak previous; (diff)
downloadwireguard-openbsd-57c6a104c13c862b24b580195806a9b0fee7e843.tar.xz
wireguard-openbsd-57c6a104c13c862b24b580195806a9b0fee7e843.zip
Use __attribute__((__format__ throughout.
Triggered by a smaller patch from Christos Zoulas.
Diffstat (limited to 'usr.bin/mandoc/html.h')
-rw-r--r--usr.bin/mandoc/html.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.bin/mandoc/html.h b/usr.bin/mandoc/html.h
index 577643d1bbe..e46e0b60db4 100644
--- a/usr.bin/mandoc/html.h
+++ b/usr.bin/mandoc/html.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: html.h,v 1.34 2015/11/07 13:57:55 schwarze Exp $ */
+/* $OpenBSD: html.h,v 1.35 2016/07/19 13:30:16 schwarze Exp $ */
/*
* Copyright (c) 2008-2011, 2014 Kristaps Dzonsons <kristaps@bsd.lv>
*
@@ -158,7 +158,8 @@ void print_tbl(struct html *, const struct tbl_span *);
void print_eqn(struct html *, const struct eqn *);
void print_paragraph(struct html *);
-void bufcat_fmt(struct html *, const char *, ...);
+void bufcat_fmt(struct html *, const char *, ...)
+ __attribute__((__format__ (printf, 2, 3)));
void bufcat(struct html *, const char *);
void bufcat_id(struct html *, const char *);
void bufcat_style(struct html *,