fix accidental additions of unnecessary unistd.h includes default tip

Mon, 20 Oct 2025 20:38:02 +0200

author
Mike Becker <universe@uap-core.de>
date
Mon, 20 Oct 2025 20:38:02 +0200
changeset 1435
48ebf22b698e
parent 1434
27d71ce751e9

fix accidental additions of unnecessary unistd.h includes

src/linked_list.c file | annotate | diff | comparison | revisions
tests/test_list.c file | annotate | diff | comparison | revisions
--- a/src/linked_list.c	Mon Oct 20 20:37:45 2025 +0200
+++ b/src/linked_list.c	Mon Oct 20 20:38:02 2025 +0200
@@ -30,7 +30,6 @@
 #include "cx/compare.h"
 #include <string.h>
 #include <assert.h>
-#include <unistd.h>
 
 // LOW LEVEL LINKED LIST FUNCTIONS
 
--- a/tests/test_list.c	Mon Oct 20 20:37:45 2025 +0200
+++ b/tests/test_list.c	Mon Oct 20 20:38:02 2025 +0200
@@ -36,7 +36,6 @@
 
 #include <stdarg.h>
 #include <errno.h>
-#include <unistd.h>
 
 CX_TEST(test_array_add) {
     CX_ARRAY_DECLARE(int, arr);

mercurial