From cf9286d2d84f7aef237ec0d363c692ef5035aa85 Mon Sep 17 00:00:00 2001 From: Lexxy Fox Date: Tue, 26 Sep 2023 13:30:14 -0500 Subject: Relocate pipes.c and pipes.h file to shared directory. With the addition of logger process redirect in supervise-daemon, pipes.c and pipes.h are now included in both s-s-d and supervise-daemon. Thus it makes sense to move the source files to the src/shared dir. --- src/supervise-daemon/meson.build | 2 +- src/supervise-daemon/supervise-daemon.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/supervise-daemon') diff --git a/src/supervise-daemon/meson.build b/src/supervise-daemon/meson.build index f7d70c4c..9ef0fd86 100644 --- a/src/supervise-daemon/meson.build +++ b/src/supervise-daemon/meson.build @@ -1,5 +1,5 @@ executable('supervise-daemon', - ['supervise-daemon.c', '../start-stop-daemon/pipes.c', misc_c, plugin_c, schedules_c, usage_c, version_h], + ['supervise-daemon.c', pipes_c, misc_c, plugin_c, schedules_c, usage_c, version_h], c_args : [cc_branding_flags, cc_pam_flags, cc_cap_flags, cc_selinux_flags], link_with: [libeinfo, librc], dependencies: [dl_dep, pam_dep, cap_dep, util_dep, selinux_dep], diff --git a/src/supervise-daemon/supervise-daemon.c b/src/supervise-daemon/supervise-daemon.c index 4a0c1c49..adf35630 100644 --- a/src/supervise-daemon/supervise-daemon.c +++ b/src/supervise-daemon/supervise-daemon.c @@ -62,7 +62,7 @@ static struct pam_conv conv = { NULL, NULL}; #include "queue.h" #include "rc.h" #include "misc.h" -#include "../start-stop-daemon/pipes.h" +#include "pipes.h" #include "plugin.h" #include "schedules.h" #include "_usage.h" -- cgit v1.2.3