From e7321910ca4d956b572a050d302a25df37ce06ab Mon Sep 17 00:00:00 2001 From: Richard Braun Date: Thu, 4 Jan 2018 21:43:37 +0100 Subject: error: remove and use errno.h directly --- test/test_cbuf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/test_cbuf.c') diff --git a/test/test_cbuf.c b/test/test_cbuf.c index 7f00080..629157d 100644 --- a/test/test_cbuf.c +++ b/test/test_cbuf.c @@ -20,13 +20,13 @@ * DEALINGS IN THE SOFTWARE. */ +#include #include #include #include #include "../cbuf.h" #include "../check.h" -#include "../error.h" #include "../macros.h" #define TEST_BUF_SIZE 1024 @@ -77,7 +77,7 @@ test_read_0(void) size = 0; error = cbuf_read(&cbuf, index, buf, &size); - check(error == ERROR_INVAL); + check(error == EINVAL); check(size == 0); test_push(&cbuf, "a"); -- cgit v1.2.3