diff options
author | David Robillard <d@drobilla.net> | 2021-09-10 23:01:33 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2021-09-10 23:01:33 -0400 |
commit | 31a3e77b48bd63200538649c4292b2f61c68ee35 (patch) | |
tree | caa16f9ce6edb5192235f355c5904b1eb6be2487 /test/strerror_test.c | |
parent | b78600effbfb420007b7aac16da43d173930a753 (diff) | |
download | zix-31a3e77b48bd63200538649c4292b2f61c68ee35.tar.gz zix-31a3e77b48bd63200538649c4292b2f61c68ee35.tar.bz2 zix-31a3e77b48bd63200538649c4292b2f61c68ee35.zip |
Fix function attribute warnings
Diffstat (limited to 'test/strerror_test.c')
-rw-r--r-- | test/strerror_test.c | 2 |
1 files changed, 2 insertions, 0 deletions
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) { |