aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/term_ps.c
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
commit0d80df65359b9d2c8098f97712722f3889143c77 (patch)
tree6af019c4a08ea1ba2714c478274a6ac0c39f9ee5 /term_ps.c
parent73d13e32f24d114d25e566580496bd3b8c246ce6 (diff)
downloadmandoc-0d80df65359b9d2c8098f97712722f3889143c77.tar.gz
mandoc-0d80df65359b9d2c8098f97712722f3889143c77.tar.zst
mandoc-0d80df65359b9d2c8098f97712722f3889143c77.zip
Be consistent in protecting __attribute__ attributes with __;
from Christos Zoulas <christos @ NetBSD>.
Diffstat (limited to 'term_ps.c')
-rw-r--r--term_ps.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/term_ps.c b/term_ps.c
index 286a89f9..696ff224 100644
--- a/term_ps.c
+++ b/term_ps.c
@@ -1,4 +1,4 @@
-/* $Id: term_ps.c,v 1.82 2016/08/10 11:03:43 schwarze Exp $ */
+/* $Id: term_ps.c,v 1.83 2017/02/17 14:31:52 schwarze Exp $ */
/*
* Copyright (c) 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2014, 2015, 2016 Ingo Schwarze <schwarze@openbsd.org>
@@ -104,7 +104,7 @@ static void ps_pclose(struct termp *);
static void ps_plast(struct termp *);
static void ps_pletter(struct termp *, int);
static void ps_printf(struct termp *, const char *, ...)
- __attribute__((__format__ (printf, 2, 3)));
+ __attribute__((__format__ (__printf__, 2, 3)));
static void ps_putchar(struct termp *, char);
static void ps_setfont(struct termp *, enum termfont);
static void ps_setwidth(struct termp *, int, int);