From 45bc175ef9278c175d2fc3a0678b49b18e74c449 Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Wed, 14 Feb 2018 14:50:04 -0800 Subject: fixes #234 Investigate enabling more verbose compiler warnings We enabled verbose compiler warnings, and found a lot of issues. Some of these were even real bugs. As a bonus, we actually save some initialization steps in the compat layer, and avoid passing some variables we don't need. --- tests/convey.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tests/convey.h') diff --git a/tests/convey.h b/tests/convey.h index 9d9be0fa..299e0611 100644 --- a/tests/convey.h +++ b/tests/convey.h @@ -71,8 +71,8 @@ * framework creates a context automatically for each convey scope. */ typedef struct { - jmp_buf cs_jmp; void * cs_data; + jmp_buf cs_jmp; } conveyScope; /* These functions are not for use by tests -- they are used internally. */ @@ -90,6 +90,7 @@ extern void conveySkip(const char *, int, const char *, ...); extern void conveyFail(const char *, int, const char *, ...); extern void conveyError(const char *, int, const char *, ...); extern void conveyPrintf(const char *, int, const char *, ...); +extern int conveyMainImpl(void); /* * conveyRun is a helper macro not to be called directly by user -- cgit v1.2.3-70-g09d2