From b4056819264e49473287b3a454cff542b7d415a4 Mon Sep 17 00:00:00 2001 From: Sam James Date: Sun, 29 Jan 2023 04:16:48 +0000 Subject: start-stop-daemon: missing includes from IWYU --- src/start-stop-daemon/pipes.c | 2 +- src/start-stop-daemon/start-stop-daemon.c | 33 ++++++++++++++----------------- 2 files changed, 16 insertions(+), 19 deletions(-) (limited to 'src/start-stop-daemon') diff --git a/src/start-stop-daemon/pipes.c b/src/start-stop-daemon/pipes.c index 506196d5..5251a4f0 100644 --- a/src/start-stop-daemon/pipes.c +++ b/src/start-stop-daemon/pipes.c @@ -16,8 +16,8 @@ */ #include -#include #include +#include #include "pipes.h" diff --git a/src/start-stop-daemon/start-stop-daemon.c b/src/start-stop-daemon/start-stop-daemon.c index 56f85cba..07fab393 100644 --- a/src/start-stop-daemon/start-stop-daemon.c +++ b/src/start-stop-daemon/start-stop-daemon.c @@ -26,47 +26,44 @@ # define _GNU_SOURCE #endif -#include -#include -#include -#include -#include -#include -#include - -#ifdef __linux__ -#include /* For io priority */ -#include /* For prctl */ -#endif - -#include #include #include #include #include #include #include +#include #include +#include #include #include #include #include +#include +#include +#include +#include +#include +#include +#ifdef __linux__ +# include /* For io priority */ +# include /* For prctl */ +#endif +#include #include #include #ifdef HAVE_PAM -#include +# include /* We are not supporting authentication conversations */ static struct pam_conv conv = { NULL, NULL}; #endif #ifdef HAVE_CAP -#include +# include #endif -#include - #include "einfo.h" #include "queue.h" #include "rc.h" -- cgit v1.2.3