Re: [PATCH] lib: image-sparse: Mark sparse_seek() as static

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Jan 24, 2019 at 09:12:04PM -0800, Andrey Smirnov wrote:
> Mark sparse_seek() as static to avoid -Wmissing-prototypes warnings
> 
> Signed-off-by: Andrey Smirnov <andrew.smirnov@xxxxxxxxx>
> ---
>  lib/image-sparse.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Applied, thanks

Sascha

> 
> diff --git a/lib/image-sparse.c b/lib/image-sparse.c
> index 7137d15fd..0c31742ab 100644
> --- a/lib/image-sparse.c
> +++ b/lib/image-sparse.c
> @@ -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;
> -- 
> 2.20.1
> 
> 
> _______________________________________________
> barebox mailing list
> barebox@xxxxxxxxxxxxxxxxxxx
> http://lists.infradead.org/mailman/listinfo/barebox
> 

-- 
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
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox



[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux