aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/openrc-shutdown/meson.build2
-rw-r--r--src/openrc-shutdown/openrc-shutdown.c2
-rw-r--r--src/openrc-shutdown/sysvinit.c (renamed from src/openrc-shutdown/rc-sysvinit.c)4
-rw-r--r--src/openrc-shutdown/sysvinit.h (renamed from src/openrc-shutdown/rc-sysvinit.h)2
4 files changed, 5 insertions, 5 deletions
diff --git a/src/openrc-shutdown/meson.build b/src/openrc-shutdown/meson.build
index bdd58338..e380b5e3 100644
--- a/src/openrc-shutdown/meson.build
+++ b/src/openrc-shutdown/meson.build
@@ -1,6 +1,6 @@
if os == 'Linux'
executable('openrc-shutdown',
- ['openrc-shutdown.c', 'broadcast.c', 'rc-sysvinit.c', misc_c,
+ ['openrc-shutdown.c', 'broadcast.c', 'sysvinit.c', misc_c,
usage_c, wtmp_c, version_h],
c_args : cc_branding_flags,
include_directories: [incdir, einfo_incdir, rc_incdir],
diff --git a/src/openrc-shutdown/openrc-shutdown.c b/src/openrc-shutdown/openrc-shutdown.c
index 1234dcfc..6255a485 100644
--- a/src/openrc-shutdown/openrc-shutdown.c
+++ b/src/openrc-shutdown/openrc-shutdown.c
@@ -35,7 +35,7 @@
#include "rc.h"
#include "helpers.h"
#include "misc.h"
-#include "rc-sysvinit.h"
+#include "sysvinit.h"
#include "wtmp.h"
#include "_usage.h"
diff --git a/src/openrc-shutdown/rc-sysvinit.c b/src/openrc-shutdown/sysvinit.c
index 8d258b63..84fc9ec2 100644
--- a/src/openrc-shutdown/rc-sysvinit.c
+++ b/src/openrc-shutdown/sysvinit.c
@@ -1,5 +1,5 @@
/*
- * rc-sysvinit.c
+ * sysvinit.c
* Helper to send a runlevel change to sysvinit
*/
@@ -24,7 +24,7 @@
#include <sys/types.h>
#include "einfo.h"
-#include "rc-sysvinit.h"
+#include "sysvinit.h"
static void sysvinit_send_cmd(struct init_request *request)
{
diff --git a/src/openrc-shutdown/rc-sysvinit.h b/src/openrc-shutdown/sysvinit.h
index 6142cdd6..5e3077cf 100644
--- a/src/openrc-shutdown/rc-sysvinit.h
+++ b/src/openrc-shutdown/sysvinit.h
@@ -1,5 +1,5 @@
/*
- * rc-sysvinit.h - Interface to communicate with sysvinit via /run/initctl.
+ * sysvinit.h - Interface to communicate with sysvinit via /run/initctl.
*/
/*