From fb6ffc5713a944c878581c5f09f626c6493d81c1 Mon Sep 17 00:00:00 2001 From: Sam James Date: Sun, 29 Jan 2023 04:16:33 +0000 Subject: openrc: missing includes from IWYU --- src/openrc/rc-logger.c | 10 +++++----- src/openrc/rc.c | 17 ++++++----------- 2 files changed, 11 insertions(+), 16 deletions(-) (limited to 'src/openrc') diff --git a/src/openrc/rc-logger.c b/src/openrc/rc-logger.c index b00550a7..974147f9 100644 --- a/src/openrc/rc-logger.c +++ b/src/openrc/rc-logger.c @@ -16,10 +16,7 @@ * except according to the terms contained in the LICENSE file. */ -#include -#include -#include - +#include #include #include #include @@ -27,6 +24,9 @@ #include #include #include +#include +#include +#include #include #include #include @@ -42,9 +42,9 @@ #include "einfo.h" #include "rc-logger.h" -#include "queue.h" #include "rc.h" #include "misc.h" +#include "helpers.h" #define TMPLOG RC_SVCDIR "/rc.log" #define DEFAULTLOG "/var/log/rc.log" diff --git a/src/openrc/rc.c b/src/openrc/rc.c index 55e85078..aaf1043e 100644 --- a/src/openrc/rc.c +++ b/src/openrc/rc.c @@ -20,26 +20,21 @@ * except according to the terms contained in the LICENSE file. */ -#include -#include -#include -#include -#include -#include - #include #include -#include #include #include -#include #include #include #include #include #include #include -#include +#include +#include +#include +#include +#include #include #include @@ -49,9 +44,9 @@ #include "rc-logger.h" #include "misc.h" #include "plugin.h" - #include "version.h" #include "_usage.h" +#include "helpers.h" const char *extraopts = NULL; const char getoptstring[] = "a:no:s:S" getoptstring_COMMON; -- cgit v1.2.3