summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorIlias Apalodimas <[email protected]>2025-08-29 11:16:16 +0300
committerTom Rini <[email protected]>2025-09-09 12:44:07 -0600
commit9fe4e088f3d2ba15323ae4bff7f6b592152e326c (patch)
treec4887705d4657f334bbf6590f2089e7118d2c2f1 /tools
parent3c34fd46b6efd0501662ba3f0aeff2aeac9a584d (diff)
tools: fdtgrep: Mark util_usage() as static
The function is only used locally. Enabling -Wmissing-prototypes triggers a warning. Mark it as static. Signed-off-by: Ilias Apalodimas <[email protected]>
Diffstat (limited to 'tools')
-rw-r--r--tools/fdtgrep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/fdtgrep.c b/tools/fdtgrep.c
index 6372defedc2..b4c041070f5 100644
--- a/tools/fdtgrep.c
+++ b/tools/fdtgrep.c
@@ -1040,7 +1040,7 @@ static const char * const usage_opts_help[] = {
#define util_getopt_long() getopt_long(argc, argv, usage_short_opts, \
usage_long_opts, NULL)
-void util_usage(const char *errmsg, const char *synopsis,
+static void util_usage(const char *errmsg, const char *synopsis,
const char *short_opts, struct option const long_opts[],
const char * const opts_help[])
{