From 2087cc237cd0fe1ed29ebf891648bacb46f4833b Mon Sep 17 00:00:00 2001
From: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Date: Sun, 26 Jun 2022 16:45:52 +0200
Subject: Cleanup: move libutil headers to sub directory

Move all the libutil stuff from the toplevel include/ to a util/
sub directory and fix up the includes that make use of them.

Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
---
 tests/libutil/is_memory_zero.c | 2 +-
 tests/libutil/rbtree.c         | 2 +-
 tests/libutil/str_table.c      | 2 +-
 tests/libutil/threadpool.c     | 2 +-
 tests/libutil/xxhash.c         | 2 +-
 5 files changed, 5 insertions(+), 5 deletions(-)

(limited to 'tests/libutil')

diff --git a/tests/libutil/is_memory_zero.c b/tests/libutil/is_memory_zero.c
index 0d10dd8..967e2e8 100644
--- a/tests/libutil/is_memory_zero.c
+++ b/tests/libutil/is_memory_zero.c
@@ -7,7 +7,7 @@
 #include "config.h"
 
 #include "../test.h"
-#include "util.h"
+#include "util/util.h"
 
 int main(int argc, char **argv)
 {
diff --git a/tests/libutil/rbtree.c b/tests/libutil/rbtree.c
index 05f7aa3..d7b475a 100644
--- a/tests/libutil/rbtree.c
+++ b/tests/libutil/rbtree.c
@@ -6,7 +6,7 @@
  */
 #include "config.h"
 
-#include "rbtree.h"
+#include "util/rbtree.h"
 #include "../test.h"
 
 static int key_compare(const void *ctx, const void *a, const void *b)
diff --git a/tests/libutil/str_table.c b/tests/libutil/str_table.c
index b75bb91..a69a9c4 100644
--- a/tests/libutil/str_table.c
+++ b/tests/libutil/str_table.c
@@ -6,7 +6,7 @@
  */
 #include "config.h"
 
-#include "str_table.h"
+#include "util/str_table.h"
 #include "fstream.h"
 #include "compat.h"
 #include "../test.h"
diff --git a/tests/libutil/threadpool.c b/tests/libutil/threadpool.c
index cd52ad3..4b07935 100644
--- a/tests/libutil/threadpool.c
+++ b/tests/libutil/threadpool.c
@@ -6,7 +6,7 @@
  */
 #include "config.h"
 
-#include "threadpool.h"
+#include "util/threadpool.h"
 #include "../test.h"
 
 #if defined(_WIN32) || defined(__WINDOWS__)
diff --git a/tests/libutil/xxhash.c b/tests/libutil/xxhash.c
index b0b1bac..cccbb68 100644
--- a/tests/libutil/xxhash.c
+++ b/tests/libutil/xxhash.c
@@ -6,7 +6,7 @@
  */
 #include "config.h"
 
-#include "util.h"
+#include "util/util.h"
 #include "../test.h"
 
 static const struct {
-- 
cgit v1.2.3