aboutsummaryrefslogtreecommitdiff
path: root/src/openrc-shutdown/broadcast.c
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2023-01-29 04:16:01 +0000
committerWilliam Hubbs <w.d.hubbs@gmail.com>2023-01-29 11:32:22 -0600
commit28ecb38515d6a8a52fa524a5fee8fda3e7cb8252 (patch)
tree1fbcffe2f86826404fb75492d597dbe9b5b6266f /src/openrc-shutdown/broadcast.c
parent91737be1abe3b82b2dfa6ee44da735dd4686ae80 (diff)
openrc-shutdown: missing includes from IWYU
Diffstat (limited to 'src/openrc-shutdown/broadcast.c')
-rw-r--r--src/openrc-shutdown/broadcast.c25
1 files changed, 12 insertions, 13 deletions
diff --git a/src/openrc-shutdown/broadcast.c b/src/openrc-shutdown/broadcast.c
index 05672ee0..232f4ab7 100644
--- a/src/openrc-shutdown/broadcast.c
+++ b/src/openrc-shutdown/broadcast.c
@@ -12,24 +12,23 @@
* This file may not be copied, modified, propagated, or distributed
* except according to the terms contained in the LICENSE file.
*/
-#include <ctype.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-#include <sys/sysmacros.h>
-#include <limits.h>
+
+
+#include <fcntl.h>
+#include <paths.h>
+#include <pwd.h>
+#include <signal.h>
+#include <setjmp.h>
+#include <stdio.h>
#include <stdlib.h>
#include <string.h>
+#include <sys/stat.h>
+#include <sys/sysmacros.h>
+#include <sys/types.h>
+#include <sys/utsname.h>
#include <time.h>
#include <unistd.h>
-#include <stdio.h>
-#include <utmp.h>
#include <utmpx.h>
-#include <pwd.h>
-#include <fcntl.h>
-#include <signal.h>
-#include <setjmp.h>
-#include <paths.h>
-#include <sys/utsname.h>
#include "broadcast.h"
#include "helpers.h"