From 09e6443ef454de24bdcb837a754433cd3c409437 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Tue, 24 Mar 2020 12:21:41 +0100 Subject: [PATCH] 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). --- src/basic/meson.build | 2 ++ src/{shared => basic}/path-lookup.c | 0 src/{shared => basic}/path-lookup.h | 0 src/shared/meson.build | 2 -- 4 files changed, 2 insertions(+), 2 deletions(-) rename src/{shared => basic}/path-lookup.c (100%) rename src/{shared => basic}/path-lookup.h (100%) 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 -- 2.47.3