diff options
author | Mike Frysinger <vapier@gentoo.org> | 2007-01-29 02:31:43 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2007-01-29 02:31:43 +0000 |
commit | 0633d640b5269eaf16efd746c04f7ab1a5a18828 (patch) | |
tree | 0158b55d37743c69e26ec6c2d142f05e8018e8d8 /test | |
parent | ddea243aab67af75ea04700edff5286a1e02eaf4 (diff) |
fixup warnings
Diffstat (limited to 'test')
-rw-r--r-- | test/testsuite.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/testsuite.h b/test/testsuite.h index c45876831..afc45b0c0 100644 --- a/test/testsuite.h +++ b/test/testsuite.h @@ -10,15 +10,15 @@ #define TESTSUITE_H #ifdef __NO_TESTCODE__ - extern size_t test_number; +#endif extern void init_testsuite(const char* testname); extern void done_testing(void) __attribute__((noreturn)); extern void success_msg(int result, const char* command); extern void error_msg(int result, int line, const char* file, const char* command); -#else +#ifndef __NO_TESTCODE__ size_t test_number = 0; static int failures = 0; |