tree-wide: Clean up includes

This commit cleans up the includes for all the small tools across
the tree.

A few cases of returning EXIT_SUCCESS are replaced with returning
0 to avoid including <stdlib.h>.

Split out of #37344.
This commit is contained in:
Daan De Meyer
2025-05-14 22:34:02 +02:00
parent 0dc510ab03
commit 8857aa74e5
85 changed files with 187 additions and 290 deletions
+1 -2
View File
@@ -4,7 +4,6 @@
#include <linux/rfkill.h>
#include <poll.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <unistd.h>
#include "sd-daemon.h"
@@ -19,11 +18,11 @@
#include "io-util.h"
#include "list.h"
#include "main-func.h"
#include "mkdir.h"
#include "parse-util.h"
#include "reboot-util.h"
#include "string-table.h"
#include "string-util.h"
#include "time-util.h"
#include "udev-util.h"
/* Note that any write is delayed until exit and the rfkill state will not be