From 6e7b20a41c8a7f10392884e1741b031b579a93fa Mon Sep 17 00:00:00 2001 From: David Oberhollenzer Date: Sat, 23 Sep 2023 10:37:27 +0200 Subject: Cleanup: move memory/stdio streams to libcommon Signed-off-by: David Oberhollenzer --- lib/util/Makemodule.am | 4 ++-- lib/util/test/get_line.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/util') diff --git a/lib/util/Makemodule.am b/lib/util/Makemodule.am index 24fb50b..d7b5021 100644 --- a/lib/util/Makemodule.am +++ b/lib/util/Makemodule.am @@ -36,7 +36,7 @@ endif noinst_LIBRARIES += libutil.a test_str_table_SOURCES = lib/util/test/str_table.c -test_str_table_LDADD = libio.a libsquashfs.la libutil.a libcompat.a +test_str_table_LDADD = libcommon.a libsquashfs.la libutil.a libcompat.a test_str_table_CPPFLAGS = $(AM_CPPFLAGS) -DTESTPATH=$(top_srcdir)/lib/util/test test_rbtree_SOURCES = lib/util/test/rbtree.c @@ -79,7 +79,7 @@ test_base64_decode_SOURCES = lib/util/test/base64_decode.c test_base64_decode_LDADD = libutil.a libcompat.a test_get_line_SOURCES = lib/util/test/get_line.c -test_get_line_LDADD = libutil.a libio.a libcompat.a +test_get_line_LDADD = libcommon.a libsquashfs.la libutil.a libcompat.a test_split_line_SOURCES = lib/util/test/split_line.c test_split_line_LDADD = libutil.a libcompat.a diff --git a/lib/util/test/get_line.c b/lib/util/test/get_line.c index 6189d31..2ea5687 100644 --- a/lib/util/test/get_line.c +++ b/lib/util/test/get_line.c @@ -5,8 +5,8 @@ * Copyright (C) 2019 David Oberhollenzer */ #include "util/parse.h" -#include "io/mem.h" #include "util/test.h" +#include "common.h" typedef struct { size_t line_num; -- cgit v1.2.3