summaryrefslogtreecommitdiff
path: root/lib/util
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-10-07 15:26:32 +0200
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-10-07 15:34:22 +0200
commitc973bcc1039b64ec00acaf8e8d61b9f5229da56f (patch)
tree9aedf6df3a56ad02e2f9a369dbc6ff4264b349a5 /lib/util
parentf731af6f58a7623b79241961d0a9a362b3e2ddb3 (diff)
Cleanup: move libutil related headers to "util" sub directory
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'lib/util')
-rw-r--r--lib/util/Makemodule.am4
-rw-r--r--lib/util/alloc.c2
-rw-r--r--lib/util/canonicalize_name.c2
-rw-r--r--lib/util/str_table.c4
4 files changed, 6 insertions, 6 deletions
diff --git a/lib/util/Makemodule.am b/lib/util/Makemodule.am
index 77f6c05..d6d3928 100644
--- a/lib/util/Makemodule.am
+++ b/lib/util/Makemodule.am
@@ -1,5 +1,5 @@
-libutil_la_SOURCES = include/util.h include/compat.h
-libutil_la_SOURCES += lib/util/str_table.c include/str_table.h
+libutil_la_SOURCES = include/util/util.h include/util/compat.h
+libutil_la_SOURCES += lib/util/str_table.c include/util/str_table.h
libutil_la_SOURCES += lib/util/alloc.c lib/util/canonicalize_name.c
libutil_la_CFLAGS = $(AM_CFLAGS)
libutil_la_CPPFLAGS = $(AM_CPPFLAGS)
diff --git a/lib/util/alloc.c b/lib/util/alloc.c
index da99d01..526a4d5 100644
--- a/lib/util/alloc.c
+++ b/lib/util/alloc.c
@@ -6,7 +6,7 @@
*/
#include "config.h"
-#include "util.h"
+#include "util/util.h"
#include <stddef.h>
#include <stdlib.h>
diff --git a/lib/util/canonicalize_name.c b/lib/util/canonicalize_name.c
index 4abbbe9..33e1c0b 100644
--- a/lib/util/canonicalize_name.c
+++ b/lib/util/canonicalize_name.c
@@ -6,7 +6,7 @@
*/
#include "config.h"
-#include "util.h"
+#include "util/util.h"
static void normalize_slashes(char *filename)
{
diff --git a/lib/util/str_table.c b/lib/util/str_table.c
index 3554544..78206e8 100644
--- a/lib/util/str_table.c
+++ b/lib/util/str_table.c
@@ -11,8 +11,8 @@
#include <string.h>
#include "sqfs/error.h"
-#include "str_table.h"
-#include "util.h"
+#include "util/str_table.h"
+#include "util/util.h"
/* R5 hash function (borrowed from reiserfs) */
static sqfs_u32 strhash(const char *s)