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 <ilias.apalodimas@linaro.org>
This commit is contained in:
committed by
Tom Rini
parent
3c34fd46b6
commit
9fe4e088f3
@@ -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[])
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user