summaryrefslogtreecommitdiffstats
path: root/common/bootchooser.c
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2019-03-15 07:57:15 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2019-03-18 10:10:40 +0100
commit27166fb0b1eaa538555fe1306b5ca8922520584f (patch)
tree5e02d175ea86ed2116d886be447663fc3a9e6720 /common/bootchooser.c
parenta194fa7518d8677a364492fd973af6b9ce0f0541 (diff)
downloadbarebox-27166fb0b1eaa538555fe1306b5ca8922520584f.tar.gz
treewide: Make locally used functions static
Many functions are only used locally but still are globally visible. Make these function static. Avoids warnings generated with -Wmissing-prototypes Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'common/bootchooser.c')
-rw-r--r--common/bootchooser.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/bootchooser.c b/common/bootchooser.c
index c47c734..c08db03 100644
--- a/common/bootchooser.c
+++ b/common/bootchooser.c
@@ -630,7 +630,7 @@ void bootchooser_info(struct bootchooser *bc)
*
* Return: The next target
*/
-struct bootchooser_target *bootchooser_get_target(struct bootchooser *bc)
+static struct bootchooser_target *bootchooser_get_target(struct bootchooser *bc)
{
struct bootchooser_target *target;