[RESEND PATCH] env: add prototypes for weak function

Tom Rini trini at konsulko.com
Fri Jul 31 23:39:54 CEST 2020


On Mon, Jun 15, 2020 at 04:52:17PM +0200, Patrick Delaunay wrote:

> This patch adds prototypes for several weak functions:
> - env_ext4_get_intf
> - env_ext4_get_dev_part
> - env_get_location
> 
> It solves the following warnings when compiling with W=1
> on stm32mp1 board:
> 
> board/st/stm32mp1/stm32mp1.c:849:19: warning: no previous prototype for 'env_get_location' [-Wmissing-prototypes]
>  enum env_location env_get_location(enum env_operation op, int prio)
>                    ^~~~~~~~~~~~~~~~
> board/st/stm32mp1/stm32mp1.c:876:13: warning: no previous prototype for 'env_ext4_get_intf' [-Wmissing-prototypes]
>  const char *env_ext4_get_intf(void)
>              ^~~~~~~~~~~~~~~~~
> board/st/stm32mp1/stm32mp1.c:889:13: warning: no previous prototype for 'env_ext4_get_dev_part' [-Wmissing-prototypes]
>  const char *env_ext4_get_dev_part(void)
>              ^~~~~~~~~~~~~~~~~~~~~
> 
> Commit-note
> Hi,
> 
> I resend this patch, rebased on master without modification
> http://patchwork.ozlabs.org/project/uboot/list/?series=155601
> 
> Regards
> 
> Patrick
> 
> END
> 
> Signed-off-by: Patrice Chotard <patrice.chotard at st.com>
> Signed-off-by: Patrick Delaunay <patrick.delaunay at st.com>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20200731/2111516a/attachment.sig>


More information about the U-Boot mailing list