summaryrefslogtreecommitdiffstats
path: root/libmandoc.h
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2017-02-17 14:31:52 +0000
committerIngo Schwarze <schwarze@openbsd.org>2017-02-17 14:31:52 +0000
commit54d735ad40551c65097fc14a04f450620d23bad0 (patch)
treee9025d70c3b21dbeb9cf80cea915660edffb3ef2 /libmandoc.h
parent43757c82b3a7a65d2481fe9ff6efb2970e685827 (diff)
downloadmandoc-54d735ad40551c65097fc14a04f450620d23bad0.tar.gz
Be consistent in protecting __attribute__ attributes with __;
from Christos Zoulas <christos @ NetBSD>.
Diffstat (limited to 'libmandoc.h')
-rw-r--r--libmandoc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libmandoc.h b/libmandoc.h
index 2003ec63..1a423b04 100644
--- a/libmandoc.h
+++ b/libmandoc.h
@@ -43,7 +43,7 @@ void mandoc_msg(enum mandocerr, struct mparse *,
int, int, const char *);
void mandoc_vmsg(enum mandocerr, struct mparse *,
int, int, const char *, ...)
- __attribute__((__format__ (printf, 5, 6)));
+ __attribute__((__format__ (__printf__, 5, 6)));
char *mandoc_getarg(struct mparse *, char **, int, int *);
char *mandoc_normdate(struct mparse *, char *, int, int);
int mandoc_eos(const char *, size_t);