move a define and include from header to source file

This commit is contained in:
Gwendolyn 2022-01-03 16:18:23 +01:00
parent 791742d885
commit 19ebe3d7b6
2 changed files with 4 additions and 5 deletions

View file

@ -20,6 +20,10 @@ struct xtest_assert_info assertion_info;
#define XTEST_TEST_NAME_MAX_LENGTH 1023
#endif
#ifndef XTEST_INDENT
#define XTEST_INDENT 2
#endif
const char * group_nesting[XTEST_MAX_GROUP_NESTING];
int group_nesting_pos = 0;

View file

@ -8,11 +8,6 @@
#include <stdio.h>
#include <string.h>
#include <assert.h>
#ifndef XTEST_INDENT
#define XTEST_INDENT 2
#endif
typedef void (*xtest_test_fn)(void *, void **);
typedef void (*xtest_setup_fn)(void **);