Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/bsd/mdocml/dist add missing attribute.
details: https://anonhg.NetBSD.org/src/rev/80d309a741f1
branches: trunk
changeset: 346556:80d309a741f1
user: christos <christos%NetBSD.org@localhost>
date: Mon Jul 18 22:51:38 2016 +0000
description:
add missing attribute.
diffstat:
external/bsd/mdocml/dist/mandoc_aux.h | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diffs (13 lines):
diff -r e41a4d585194 -r 80d309a741f1 external/bsd/mdocml/dist/mandoc_aux.h
--- a/external/bsd/mdocml/dist/mandoc_aux.h Mon Jul 18 22:24:15 2016 +0000
+++ b/external/bsd/mdocml/dist/mandoc_aux.h Mon Jul 18 22:51:38 2016 +0000
@@ -16,6 +16,9 @@
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
+#if __GNUC__ - 0 >= 4
+__attribute__((__format__ (__printf__, 2, 3)))
+#endif
int mandoc_asprintf(char **, const char *, ...);
void *mandoc_calloc(size_t, size_t);
void *mandoc_malloc(size_t);
Home |
Main Index |
Thread Index |
Old Index