aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2023-06-16 15:39:36 +0200
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2023-06-16 20:17:59 +0200
commit230453fc840c112bbe2c18708338fd897f1174ec (patch)
treedd2a483361bfeabf0272f8e4b51c188bb7ff1411
parentc81e80bf35874696d9735f70e5c8327f92b5aca4 (diff)
Cleanup: libsqfs: move the generic stream API to the rest of the I/O code
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
-rw-r--r--lib/sqfs/Makemodule.am5
-rw-r--r--lib/sqfs/src/io/stream_api.c (renamed from lib/sqfs/src/istream.c)2
2 files changed, 4 insertions, 3 deletions
diff --git a/lib/sqfs/Makemodule.am b/lib/sqfs/Makemodule.am
index c722f16..170cf6b 100644
--- a/lib/sqfs/Makemodule.am
+++ b/lib/sqfs/Makemodule.am
@@ -30,8 +30,9 @@ libsquashfs_la_SOURCES = $(LIBSQFS_HEARDS) lib/sqfs/src/id_table.c \
lib/sqfs/src/block_processor/block_processor.c \
lib/sqfs/src/block_processor/backend.c \
lib/sqfs/src/frag_table.c lib/sqfs/src/block_writer.c \
- lib/sqfs/src/misc.c lib/sqfs/src/istream.c lib/sqfs/src/io/istream.c \
- lib/sqfs/src/io/ostream.c lib/sqfs/src/io/file.c
+ lib/sqfs/src/misc.c lib/sqfs/src/io/istream.c \
+ lib/sqfs/src/io/ostream.c lib/sqfs/src/io/file.c \
+ lib/sqfs/src/io/stream_api.c
libsquashfs_la_CPPFLAGS = $(AM_CPPFLAGS)
libsquashfs_la_LDFLAGS = $(AM_LDFLAGS) -version-info $(LIBSQUASHFS_SO_VERSION)
libsquashfs_la_CFLAGS = $(AM_CFLAGS) $(PTHREAD_CFLAGS) $(ZLIB_CFLAGS)
diff --git a/lib/sqfs/src/istream.c b/lib/sqfs/src/io/stream_api.c
index 3d89461..60e8472 100644
--- a/lib/sqfs/src/istream.c
+++ b/lib/sqfs/src/io/stream_api.c
@@ -1,6 +1,6 @@
/* SPDX-License-Identifier: LGPL-3.0-or-later */
/*
- * istream.c
+ * stream_api.c
*
* Copyright (C) 2019 David Oberhollenzer <goliath@infraroot.at>
*/