diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/ring_test.c | 1 | ||||
-rw-r--r-- | test/strerror_test.c | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/test/ring_test.c b/test/ring_test.c index 447eba6..b4fa5f1 100644 --- a/test/ring_test.c +++ b/test/ring_test.c @@ -33,6 +33,7 @@ gen_msg(int* const msg, int start) return start; } +ZIX_PURE_FUNC static int cmp_msg(const int* const msg1, const int* const msg2) { diff --git a/test/strerror_test.c b/test/strerror_test.c index a368c68..b5fd10f 100644 --- a/test/strerror_test.c +++ b/test/strerror_test.c @@ -3,6 +3,7 @@ #undef NDEBUG +#include "zix/attributes.h" #include "zix/common.h" #include <assert.h> @@ -26,6 +27,7 @@ test_strerror(void) assert(!strcmp(msg, "Unknown error")); } +ZIX_PURE_FUNC int main(void) { |