From: Zbigniew Jędrzejewski-Szmek Date: Tue, 24 Mar 2020 11:21:41 +0000 (+0100) Subject: Move path-lookup.c to src/basic X-Git-Tag: v246-rc1~685^2~8 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=09e6443ef454de24bdcb837a754433cd3c409437;p=thirdparty%2Fsystemd.git Move path-lookup.c to src/basic I want to use it from sd-path later on so it needs to be moved out of src/shared (libsystemd is not allowed to use code from src/shared). --- diff --git a/src/basic/meson.build b/src/basic/meson.build index ccb22e15950..80ef6ff0eab 100644 --- a/src/basic/meson.build +++ b/src/basic/meson.build @@ -159,6 +159,8 @@ basic_sources = files(''' ordered-set.h parse-util.c parse-util.h + path-lookup.c + path-lookup.h path-util.c path-util.h prioq.c diff --git a/src/shared/path-lookup.c b/src/basic/path-lookup.c similarity index 100% rename from src/shared/path-lookup.c rename to src/basic/path-lookup.c diff --git a/src/shared/path-lookup.h b/src/basic/path-lookup.h similarity index 100% rename from src/shared/path-lookup.h rename to src/basic/path-lookup.h diff --git a/src/shared/meson.build b/src/shared/meson.build index 859c0bbfded..45a723f3633 100644 --- a/src/shared/meson.build +++ b/src/shared/meson.build @@ -160,8 +160,6 @@ shared_sources = files(''' output-mode.h pager.c pager.h - path-lookup.c - path-lookup.h pe-header.h pkcs11-util.c pkcs11-util.h