From 82e5478d0e115c409b47cd6532e1b21ab0134de7 Mon Sep 17 00:00:00 2001 From: William Hubbs Date: Thu, 7 Apr 2022 11:18:56 -0500 Subject: [PATCH] start-stop-daemon: remove rc-prefix from file names --- src/start-stop-daemon/meson.build | 2 +- src/start-stop-daemon/{rc-pipes.c => pipes.c} | 4 ++-- src/start-stop-daemon/{rc-pipes.h => pipes.h} | 0 src/start-stop-daemon/start-stop-daemon.c | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) rename src/start-stop-daemon/{rc-pipes.c => pipes.c} (97%) rename src/start-stop-daemon/{rc-pipes.h => pipes.h} (100%) diff --git a/src/start-stop-daemon/meson.build b/src/start-stop-daemon/meson.build index 39229132..d363ff94 100644 --- a/src/start-stop-daemon/meson.build +++ b/src/start-stop-daemon/meson.build @@ -1,5 +1,5 @@ executable('start-stop-daemon', - ['start-stop-daemon.c', 'rc-pipes.c', misc_c, schedules_c, + ['start-stop-daemon.c', 'pipes.c', misc_c, schedules_c, selinux_c, usage_c, version_h], c_args : [cc_audit_flags, cc_branding_flags, cc_pam_flags, cc_cap_flags, cc_selinux_flags], link_with: [libeinfo, librc], diff --git a/src/start-stop-daemon/rc-pipes.c b/src/start-stop-daemon/pipes.c similarity index 97% rename from src/start-stop-daemon/rc-pipes.c rename to src/start-stop-daemon/pipes.c index b4e60e03..506196d5 100644 --- a/src/start-stop-daemon/rc-pipes.c +++ b/src/start-stop-daemon/pipes.c @@ -1,5 +1,5 @@ /* - * rc-pipes.c + * pipes.c * Helper to handle spawning processes and connecting them to pipes. */ @@ -19,7 +19,7 @@ #include #include -#include "rc-pipes.h" +#include "pipes.h" static const int pipe_read_end = 0; static const int pipe_write_end = 1; diff --git a/src/start-stop-daemon/rc-pipes.h b/src/start-stop-daemon/pipes.h similarity index 100% rename from src/start-stop-daemon/rc-pipes.h rename to src/start-stop-daemon/pipes.h diff --git a/src/start-stop-daemon/start-stop-daemon.c b/src/start-stop-daemon/start-stop-daemon.c index 75b9a15c..9117f92f 100644 --- a/src/start-stop-daemon/start-stop-daemon.c +++ b/src/start-stop-daemon/start-stop-daemon.c @@ -71,7 +71,7 @@ static struct pam_conv conv = { NULL, NULL}; #include "queue.h" #include "rc.h" #include "misc.h" -#include "rc-pipes.h" +#include "pipes.h" #include "schedules.h" #include "_usage.h" #include "helpers.h"