linux/arch/xtensa/boot
Max Filippov f54d02c8f2 xtensa: boot/lib: fix function prototypes
Add function prototype for gunzip() to the boot library code and make
exit() and zalloc() static.

arch/xtensa/boot/lib/zmem.c:8:6: warning: no previous prototype for 'exit' [-Wmissing-prototypes]
    8 | void exit (void)
arch/xtensa/boot/lib/zmem.c:13:7: warning: no previous prototype for 'zalloc' [-Wmissing-prototypes]
   13 | void *zalloc(unsigned size)
arch/xtensa/boot/lib/zmem.c:35:6: warning: no previous prototype for 'gunzip' [-Wmissing-prototypes]
   35 | void gunzip (void *dst, int dstlen, unsigned char *src, int *lenp)

Fixes: 4bedea9454 ("xtensa: Architecture support for Tensilica Xtensa Part 2")
Fixes: e7d163f766 ("xtensa: Removed local copy of zlib and fixed O= support")
Suggested-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
2023-09-20 05:03:30 -07:00
..
boot-elf xtensa: use register window specific opcodes only when present 2021-10-18 22:19:35 -07:00
boot-redboot xtensa: boot-redboot: clean up Makefile 2023-06-12 19:48:56 -07:00
dts xtensa: fix DTC warning unit_address_format 2022-03-17 02:55:47 -07:00
lib xtensa: boot/lib: fix function prototypes 2023-09-20 05:03:30 -07:00
.gitignore .gitignore: add SPDX License Identifier 2020-03-25 11:50:48 +01:00
Makefile xtensa: boot: don't add include-dirs 2023-09-20 05:03:22 -07:00