openwrt/package/system
Álvaro Fernández Rojas b3f4197139 mtd: fix imagetag compilation
Commit b5b0796a13 added an uint32_t to mtd.h without including stdint, which
results in a compilation error for those files not including stdint.h.

In file included from imagetag.c:36:
mtd.h:15:8: error: unknown type name 'uint32_t'
 extern uint32_t opt_trxmagic;
        ^~~~~~~~
imagetag.c: In function 'trx_fixup':
imagetag.c:180:10: warning: unused variable 'res' [-Wunused-variable]
  ssize_t res;
          ^~~
imagetag.c:177:14: warning: unused variable 'scan' [-Wunused-variable]
  void *ptr, *scan;
              ^~~~
imagetag.c: In function 'trx_check':
imagetag.c:246:27: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
     struct bcm_tag *tag = (const struct bcm_tag *) buf;
                           ^
make[3]: *** [<builtin>: imagetag.o] Error 1

Fixes: b5b0796a13 ("mtd: add option for TRX magic to fixtrx")
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2021-03-17 08:42:05 +01:00
..
ca-certificates download: add mirror alias for Debian 2021-02-26 20:41:00 +01:00
fstools fstools: fix build with glibc 2021-03-05 02:07:01 +00:00
fwtool fwtool: update to latest Git head 2019-11-14 22:53:31 +01:00
iucode-tool tools: add iucode-tool 2018-02-11 14:39:16 +01:00
mtd mtd: fix imagetag compilation 2021-03-17 08:42:05 +01:00
openwrt-keyring openwrt-keyring: add OpenWrt 21.02 GPG/usign keys 2021-02-20 15:59:47 +01:00
opkg opkg: update to git HEAD 2021-03-15 00:48:42 +00:00
procd procd: update to git HEAD 2021-03-08 00:11:55 +00:00
refpolicy Revert "refpolicy: add variant that builds modular policy" 2020-11-22 15:20:35 +00:00
rpcd rpcd: update to git HEAD 2021-03-11 00:39:16 +00:00
selinux-policy selinux-policy: update to version v0.8 2021-03-14 12:56:46 +00:00
ubox ubox: run logd non-root as user logd 2020-10-25 12:36:22 +00:00
ubus libubox: update to the latest version, set ABI_VERSION dynamically 2021-02-15 19:41:13 +01:00
ucert ucert: update to latest git HEAD 2020-05-24 17:01:36 +02:00
uci build: reorder more BuildPackages lines to deal with ABI_VERSION 2021-02-16 11:29:38 +01:00
urandom-seed treewide: drop shebang from non-executable lib files 2021-01-29 14:29:41 +01:00
urngd urngd: avoid PKG_NAME in define lines 2020-02-23 22:42:51 +01:00
usign usign: update to latest git HEAD 2020-05-23 13:38:12 +02:00
zram-swap zram-swap: remove the compression streams settings 2020-12-13 13:55:03 -10:00