Fix invalid prototype for tcase_name(void)
authorChris Leishman <chris@leishman.org>
Sat, 26 Aug 2017 05:26:56 +0000 (22:26 -0700)
committerChris Leishman <chris@leishman.org>
Sat, 26 Aug 2017 05:31:01 +0000 (22:31 -0700)
commit178b6d9dcb27648cbc1ad20036fec98afe52028a
tree4dabaaecb4f27cf94c2d83b65003c9fb002223a9
parent34c184e44814cce6527e9e145c2b7f0bb3b38572
Fix invalid prototype for tcase_name(void)

The existing prototype in check.h is `const char* tcase_name()`. This
causes issues on platforms that use strict prototype checking, e.g. the
latest clang compiler with -Wstrict-prototypes ('this function
declaration is not a prototype [-Werror,-Wstrict-prototypes]').
src/check.c
src/check.h.in