aboutsummaryrefslogtreecommitdiff
path: root/src/openrc-shutdown/broadcast.c
diff options
context:
space:
mode:
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"