2e766f73c4
Fix the following build failure with uclibc: core/bootloader.c: In function 'register_bootloader': core/bootloader.c:28:15: warning: implicit declaration of function 'reallocarray' [-Wimplicit-function-declaration] 28 | entry *tmp = reallocarray(available, num_available + 1, sizeof(entry)); | ^~~~~~~~~~~~ core/bootloader.c:28:15: warning: initialization of 'entry *' from 'int' makes pointer from integer without a cast [-Wint-conversion] [...] .../arm-buildroot-linux-uclibcgnueabi/bin/ld: core/built-in.o: in function `register_bootloader': (.text.register_bootloader+0x2c): undefined reference to `reallocarray' Fixes: http://autobuild.buildroot.net/results/46dc484759549162ec246e0bff2647995c307ab5/ Signed-off-by: Ben Hutchings <ben.hutchings@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> |
||
---|---|---|
.. | ||
10-mongoose-args | ||
90-start-progress | ||
0001-swupdate-core-bootloader.c-fix-build-without-reallocarray.patch | ||
Config.in | ||
S80swupdate | ||
swupdate-progress.service | ||
swupdate-usb.rules | ||
swupdate-usb@.service | ||
swupdate.config | ||
swupdate.hash | ||
swupdate.mk | ||
swupdate.service | ||
swupdate.sh | ||
swupdate.socket | ||
tmpfiles-swupdate.conf |