summaryrefslogtreecommitdiff
path: root/lily-test.c
diff options
context:
space:
mode:
Diffstat (limited to 'lily-test.c')
-rw-r--r--lily-test.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/lily-test.c b/lily-test.c
index 9711399..32dc075 100644
--- a/lily-test.c
+++ b/lily-test.c
@@ -4,16 +4,7 @@
#include <string.h>
#include "lily-test.h"
-struct lily_globals_t _lily_globals;
-
-
-/* set the initial values of lily globals */
-void lily_init()
-{
- _lily_globals.error_msg_len = 0;
- _lily_globals.error_msg = NULL;
- _lily_globals.error_location = "";
-}
+struct lily_globals_t _lily_globals = { {0}, 0, NULL, "" };
/* run an individual test */
void _lily_run_test(const char *name, lily_test_t test)