From 0633d640b5269eaf16efd746c04f7ab1a5a18828 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Mon, 29 Jan 2007 02:31:43 +0000 Subject: fixup warnings --- test/testsuite.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test') 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; -- cgit v1.2.3