Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/src/external/mit/expat/dist/tests/minicheck.c,v rcsdiff: /ftp/cvs/cvsroot/src/external/mit/expat/dist/tests/minicheck.c,v: warning: Unknown phrases like `commitid ...;' are present. retrieving revision 1.1.1.1 retrieving revision 1.1.1.1.28.1 diff -u -p -r1.1.1.1 -r1.1.1.1.28.1 --- src/external/mit/expat/dist/tests/minicheck.c 2012/02/11 18:18:20 1.1.1.1 +++ src/external/mit/expat/dist/tests/minicheck.c 2017/04/21 16:52:57 1.1.1.1.28.1 @@ -10,10 +10,11 @@ #include #include +#include "internal.h" /* for UNUSED_P only */ #include "minicheck.h" Suite * -suite_create(char *name) +suite_create(const char *name) { Suite *suite = (Suite *) calloc(1, sizeof(Suite)); if (suite != NULL) { @@ -23,7 +24,7 @@ suite_create(char *name) } TCase * -tcase_create(char *name) +tcase_create(const char *name) { TCase *tc = (TCase *) calloc(1, sizeof(TCase)); if (tc != NULL) { @@ -156,7 +157,7 @@ srunner_run_all(SRunner *runner, int ver } void -_fail_unless(int condition, const char *file, int line, char *msg) +_fail_unless(int UNUSED_P(condition), const char *UNUSED_P(file), int UNUSED_P(line), const char *msg) { /* Always print the error message so it isn't lost. In this case, we have a failure, so there's no reason to be quiet about what