]> Git Repo - J-u-boot.git/commit - cmd/nvedit.c
cmd: nvedit: Mark a few functions static
authorAndy Shevchenko <[email protected]>
Mon, 21 Oct 2024 13:56:33 +0000 (16:56 +0300)
committerTom Rini <[email protected]>
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 <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
cmd/nvedit.c
This page took 0.041904 seconds and 4 git commands to generate.