diff options
| author | Ilias Apalodimas <[email protected]> | 2025-08-29 11:16:15 +0300 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2025-09-09 12:44:07 -0600 |
| commit | 3c34fd46b6efd0501662ba3f0aeff2aeac9a584d (patch) | |
| tree | 7e31d6025c282c9236cefe08965c3d568ab0399b /tools | |
| parent | ae2cd1b52d4ded22ac2359964c5682b5a5c1cc28 (diff) | |
tools: fdtgrep: Mark util_version() 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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/fdtgrep.c b/tools/fdtgrep.c index 037176bc9ef..6372defedc2 100644 --- a/tools/fdtgrep.c +++ b/tools/fdtgrep.c @@ -1109,7 +1109,7 @@ void util_usage(const char *errmsg, const char *synopsis, util_usage(errmsg, usage_synopsis, usage_short_opts, \ usage_long_opts, usage_opts_help) -void util_version(void) +static void util_version(void) { printf("Version: %s\n", "(U-Boot)"); exit(0); |
