The header file check_check.h declaring these resulted in
multiple files creating storage but for duplicate names.
Only one of these (sub_ntests) was ever used outside of
check_check_master.c. Now it is accessable via an extern
declaration.
git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@1163
64e312b2-a51f-0410-8e61-
82d0ca0eb02a
#define MEMORY_LEAKING_TESTS_ENABLED 1
#endif
-int sub_nfailed;
-int sub_ntests;
+extern int sub_ntests;
void fork_setup (void);
void fork_teardown (void);
#include <assert.h>
#include "check_check.h"
+int sub_nfailed;
+int sub_ntests;
TestResult **tr_fail_array;
TestResult **tr_all_array;