From 1069c63c6ca2713cce2d6153acc1a1ef9f2b7f8f Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 19 Aug 2022 14:04:49 -0400 Subject: Move sem implementation out of header This avoids having platform conditionals in public headers, which causes build problems for dependants. --- test/test_status.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') diff --git a/test/test_status.c b/test/test_status.c index 486c210..6405ec8 100644 --- a/test/test_status.c +++ b/test/test_status.c @@ -37,7 +37,7 @@ test_strerror(void) const char* msg = zix_strerror(ZIX_STATUS_SUCCESS); assert(!strcmp(msg, "Success")); - for (int i = ZIX_STATUS_ERROR; i <= ZIX_STATUS_OVERFLOW; ++i) { + for (int i = ZIX_STATUS_ERROR; i <= ZIX_STATUS_NOT_SUPPORTED; ++i) { msg = zix_strerror((ZixStatus)i); assert(strcmp(msg, "Success")); } -- cgit v1.2.1