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
-5
View File
@@ -1,13 +1,8 @@
/* SPDX-License-Identifier: LGPL-2.1-or-later */
#include <errno.h>
#include <getopt.h>
#include <limits.h>
#include <stdbool.h>
#include <stdio.h>
#include <stdlib.h>
#include <sys/stat.h>
#include <sys/types.h>
#include "alloc-util.h"
#include "build.h"