diff options
| author | Garrett D'Amore <garrett@damore.org> | 2018-02-14 14:50:04 -0800 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2018-02-14 18:28:36 -0800 |
| commit | 45bc175ef9278c175d2fc3a0678b49b18e74c449 (patch) | |
| tree | b1838778ee898112f28b35178364068c6f48c9b4 /tests/convey.h | |
| parent | 8f93750ed2a6aaa1749eb689ddf119280f9aac7a (diff) | |
| download | nng-45bc175ef9278c175d2fc3a0678b49b18e74c449.tar.gz nng-45bc175ef9278c175d2fc3a0678b49b18e74c449.tar.bz2 nng-45bc175ef9278c175d2fc3a0678b49b18e74c449.zip | |
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.
Diffstat (limited to 'tests/convey.h')
| -rw-r--r-- | tests/convey.h | 3 |
1 files changed, 2 insertions, 1 deletions
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 |
