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 -3
View File
@@ -15,17 +15,15 @@
#include "errno-util.h"
#include "escape.h"
#include "fd-util.h"
#include "format-util.h"
#include "log.h"
#include "macro.h"
#include "main-func.h"
#include "pretty-print.h"
#include "process-util.h"
#include "signal-util.h"
#include "socket-netlink.h"
#include "socket-util.h"
#include "string-util.h"
#include "strv.h"
#include "terminal-util.h"
static char **arg_listen = NULL;
static bool arg_accept = false;