summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2007-01-29 02:31:43 +0000
committerMike Frysinger <vapier@gentoo.org>2007-01-29 02:31:43 +0000
commit0633d640b5269eaf16efd746c04f7ab1a5a18828 (patch)
tree0158b55d37743c69e26ec6c2d142f05e8018e8d8 /test
parentddea243aab67af75ea04700edff5286a1e02eaf4 (diff)
downloaduClibc-alpine-0633d640b5269eaf16efd746c04f7ab1a5a18828.tar.bz2
uClibc-alpine-0633d640b5269eaf16efd746c04f7ab1a5a18828.tar.xz
fixup warnings
Diffstat (limited to 'test')
-rw-r--r--test/testsuite.h4
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;