]> git.dujemihanovic.xyz Git - u-boot.git/commit
cmd: nvedit: Mark a few functions static
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 21 Oct 2024 13:56:33 +0000 (16:56 +0300)
committerTom Rini <trini@konsulko.com>
Thu, 24 Oct 2024 17:21:44 +0000 (11:21 -0600)
commite7dad2d37eb92a990eac9b16f51cfb777eb16af6
tree526329e4c73e32b5260bdffedcf80f7af5de0ae2
parentdb7e81154ec0bbd62dbb44ac225d22729988078e
cmd: nvedit: Mark a few functions static

Some functions are not used anywhere except the same file
where they are defined. Mark them static. This helps avoiding
the compiler warnings:

  cmd/nvedit.c:201:5: warning: no previous prototype for ‘do_env_ask’ [-Wmissing-prototypes]
  cmd/nvedit.c:315:5: warning: no previous prototype for ‘do_env_callback’ [-Wmissing-prototypes]
  cmd/nvedit.c:384:5: warning: no previous prototype for ‘do_env_flags’ [-Wmissing-prototype ]

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
cmd/nvedit.c