aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/mandoc_aux.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
commit0d80df65359b9d2c8098f97712722f3889143c77 (patch)
tree6af019c4a08ea1ba2714c478274a6ac0c39f9ee5 /mandoc_aux.h
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 'mandoc_aux.h')
-rw-r--r--mandoc_aux.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/mandoc_aux.h b/mandoc_aux.h
index 603cc5a7..a2425066 100644
--- a/mandoc_aux.h
+++ b/mandoc_aux.h
@@ -1,4 +1,4 @@
-/* $Id: mandoc_aux.h,v 1.5 2016/07/19 13:36:13 schwarze Exp $ */
+/* $Id: mandoc_aux.h,v 1.6 2017/02/17 14:31:52 schwarze Exp $ */
/*
* Copyright (c) 2009, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2014 Ingo Schwarze <schwarze@openbsd.org>
@@ -17,7 +17,7 @@
*/
int mandoc_asprintf(char **, const char *, ...)
- __attribute__((__format__ (printf, 2, 3)));
+ __attribute__((__format__ (__printf__, 2, 3)));
void *mandoc_calloc(size_t, size_t);
void *mandoc_malloc(size_t);
void *mandoc_realloc(void *, size_t);