lib: image-sparse: Mark sparse_seek() as static
PATCH 1/1 lib: image-sparse: Mark sparse_seek() as static
Mark sparse_seek() as static to avoid -Wmissing-prototypes warnings
Signed-off-by Andrey Smirnov <[email protected]>
--- lib/image-sparse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
lib/image-sparse.c +1 -1
@@ -60,7 +60,7 @@ struct sparse_image_ctx {uint32_t fill_val; }; -int sparse_seek (struct sparse_image_ctx *si) +static int sparse_seek (struct sparse_image_ctx *si) {unsigned int chunk_data_sz, payload;loff_t offs;
Signature · 7 lines
2.20.1 _______________________________________________ barebox mailing list [email protected] http://lists.infradead.org/mailman/listinfo/barebox
Sascha Hauer
AppliedQuoted 6 lines · Andrey Smirnov
Mark
sparse_seek()as static to avoid -Wmissing-prototypes warningsSigned-off-by Andrey Smirnov <[email protected]>--- lib/image-sparse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Applied, thanks
Sascha
Quoted 23 lines
lib/image-sparse.c +1
-1@@ -60,7 +60,7 @@ struct sparse_image_ctx {uint32_t fill_val; }; -int sparse_seek (struct sparse_image_ctx *si) +static int sparse_seek (struct sparse_image_ctx *si) {unsigned int chunk_data_sz, payload;loff_t offs;Signature · 7 lines
2.20.1 _______________________________________________ barebox mailing list [email protected] http://lists.infradead.org/mailman/listinfo/barebox
Signature · 9 lines
Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ barebox mailing list [email protected] http://lists.infradead.org/mailman/listinfo/barebox