u-boot-brain/include/u-boot
Heinrich Schuchardt bc18f31e4a lib: rsa: struct udevice build warning
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: 401d1c4f5d ("common: Drop asm/global_data.h from common header")
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
2021-02-24 16:51:48 -05:00
..
aes.h fit: cipher: aes: allow to store the IV in the FIT image 2020-10-12 21:30:37 -04:00
crc.h
md5.h GCC47: Fix warning in md5.c 2012-04-29 14:14:08 +02:00
rsa-checksum.h
rsa-mod-exp.h lib: rsa: struct udevice build warning 2021-02-24 16:51:48 -05:00
rsa.h lib: rsa: export rsa_verify_with_pkey() 2020-07-11 23:14:16 +02:00
sha1.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
sha256.h
sha512.h
u-boot.lds.h
variadic-macro.h
zlib.h include/u-boot, lib/zlib: add sources for zlib decompression 2020-08-07 22:31:32 -04:00