Module Name: src Committed By: christos Date: Mon Jul 18 22:51:38 UTC 2016
Modified Files: src/external/bsd/mdocml/dist: mandoc_aux.h Log Message: add missing attribute. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/external/bsd/mdocml/dist/mandoc_aux.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/external/bsd/mdocml/dist/mandoc_aux.h diff -u src/external/bsd/mdocml/dist/mandoc_aux.h:1.3 src/external/bsd/mdocml/dist/mandoc_aux.h:1.4 --- src/external/bsd/mdocml/dist/mandoc_aux.h:1.3 Fri Jul 15 15:40:42 2016 +++ src/external/bsd/mdocml/dist/mandoc_aux.h Mon Jul 18 18:51:38 2016 @@ -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);