mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-15 09:27:35 +00:00
bc18f31e4a
Avoid build warnings observed with gcc 10.2
In file included from lib/rsa/rsa-keyprop.c:16:
include/u-boot/rsa-mod-exp.h:65:24: warning:
‘struct udevice’ declared inside parameter list will not be visible
outside of this definition or declaration
65 | int rsa_mod_exp(struct udevice *dev, const uint8_t *sig,
| uint32_t sig_len,
| ^~~~~~~
include/u-boot/rsa-mod-exp.h:96:24: warning:
‘struct udevice’ declared inside parameter list will not be visible
outside of this definition or declaration
96 | int (*mod_exp)(struct udevice *dev, const uint8_t *sig,
|
by defining struct udevice.
Fixes:
|
||
---|---|---|
.. | ||
aes.h | ||
crc.h | ||
md5.h | ||
rsa-checksum.h | ||
rsa-mod-exp.h | ||
rsa.h | ||
sha1.h | ||
sha256.h | ||
sha512.h | ||
u-boot.lds.h | ||
variadic-macro.h | ||
zlib.h |