Make bootchooser_get_target() static to prevent following warning: common/bootchooser.c:633:28: warning: no previous prototype for ‘bootchooser_get_target’ [-Wmissing-prototypes] struct bootchooser_target *bootchooser_get_target(struct bootchooser *bc) Signed-off-by: Teresa Remmet <t.remmet@xxxxxxxxx> --- common/bootchooser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/bootchooser.c b/common/bootchooser.c index c47c734c9c7a..c08db03ebaa1 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; -- 2.7.4 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox