aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-06-10 22:55:22 +0200
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-06-10 22:56:53 +0200
commit4d2e87b767d1e025699286783c23926ec5eff857 (patch)
tree9df2b8dc99ce41fc3ecbda95d1d755bb3fc826c7 /lib
parent0742ee3943192434d69092f11946f791f0f25502 (diff)
Rename table.h to highlevel.h
The idea is to move various higher level helper functions there. Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'lib')
-rw-r--r--lib/Makemodule.am2
-rw-r--r--lib/sqfs/id_table_read.c3
-rw-r--r--lib/sqfs/id_table_write.c3
-rw-r--r--lib/sqfs/serialize_fstree.c2
-rw-r--r--lib/sqfs/table.c2
5 files changed, 5 insertions, 7 deletions
diff --git a/lib/Makemodule.am b/lib/Makemodule.am
index 618fbf2..ff63a7f 100644
--- a/lib/Makemodule.am
+++ b/lib/Makemodule.am
@@ -13,7 +13,7 @@ libcompress_a_CPPFLAGS = $(AM_CPPFLAGS)
libsquashfs_a_SOURCES = include/meta_writer.h include/squashfs.h
libsquashfs_a_SOURCES += lib/sqfs/meta_writer.c lib/sqfs/super.c
libsquashfs_a_SOURCES += lib/sqfs/id_table.c include/id_table.h
-libsquashfs_a_SOURCES += lib/sqfs/table.c include/table.h
+libsquashfs_a_SOURCES += lib/sqfs/table.c include/highlevel.h
libsquashfs_a_SOURCES += lib/sqfs/read_super.c lib/sqfs/meta_reader.c
libsquashfs_a_SOURCES += include/meta_reader.h lib/sqfs/id_table_write.c
libsquashfs_a_SOURCES += lib/sqfs/id_table_read.c lib/sqfs/read_inode.c
diff --git a/lib/sqfs/id_table_read.c b/lib/sqfs/id_table_read.c
index b1305ff..6e1789d 100644
--- a/lib/sqfs/id_table_read.c
+++ b/lib/sqfs/id_table_read.c
@@ -1,7 +1,6 @@
/* SPDX-License-Identifier: GPL-3.0-or-later */
#include "meta_reader.h"
-#include "id_table.h"
-#include "table.h"
+#include "highlevel.h"
#include "util.h"
#include <stdlib.h>
diff --git a/lib/sqfs/id_table_write.c b/lib/sqfs/id_table_write.c
index 9a5aa48..c11895d 100644
--- a/lib/sqfs/id_table_write.c
+++ b/lib/sqfs/id_table_write.c
@@ -1,6 +1,5 @@
/* SPDX-License-Identifier: GPL-3.0-or-later */
-#include "id_table.h"
-#include "table.h"
+#include "highlevel.h"
int id_table_write(id_table_t *tbl, int outfd, sqfs_super_t *super,
compressor_t *cmp)
diff --git a/lib/sqfs/serialize_fstree.c b/lib/sqfs/serialize_fstree.c
index 95b9144..44aeca4 100644
--- a/lib/sqfs/serialize_fstree.c
+++ b/lib/sqfs/serialize_fstree.c
@@ -1,6 +1,6 @@
/* SPDX-License-Identifier: GPL-3.0-or-later */
#include "meta_writer.h"
-#include "table.h"
+#include "highlevel.h"
#include "util.h"
#include <unistd.h>
diff --git a/lib/sqfs/table.c b/lib/sqfs/table.c
index 4e0f9d1..abc95bd 100644
--- a/lib/sqfs/table.c
+++ b/lib/sqfs/table.c
@@ -1,6 +1,6 @@
/* SPDX-License-Identifier: GPL-3.0-or-later */
#include "meta_writer.h"
-#include "table.h"
+#include "highlevel.h"
#include "util.h"
#include <endian.h>