This fixes: scripts/kwbimage.c:253:5: warning: no previous prototype for ‘image_nand_ecc_mode_id’ [-Wmissing-prototypes] Signed-off-by: Uwe Kleine-König <u.kleine-koenig@xxxxxxxxxxxxxx> --- scripts/kwbimage.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/kwbimage.c b/scripts/kwbimage.c index db66f7060dcb..26eb07fa81bc 100644 --- a/scripts/kwbimage.c +++ b/scripts/kwbimage.c @@ -250,7 +250,7 @@ static const char *image_nand_ecc_mode_name(unsigned int id) return NULL; } -int image_nand_ecc_mode_id(const char *nand_ecc_mode_name) +static int image_nand_ecc_mode_id(const char *nand_ecc_mode_name) { int i; for (i = 0; nand_ecc_modes[i].name; i++) -- 2.27.0 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox