tn3399_openwrt/package
Á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
..
base-files treewide: remove execute bit and shebang from board.d files 2021-03-06 11:30:06 +01:00
boot mediatek: add support for Buffalo WSR-2533DHP2 2021-03-15 17:02:17 +01:00
devel strace: update package to v5.10 2021-01-30 01:03:00 +01:00
firmware treewide: fix spelling 'seperate' -> 'separate' 2021-02-28 23:59:21 +00:00
kernel mt76: update to the latest version 2021-03-15 14:05:43 +01:00
libs mbedtls: update to 2.16.10 2021-03-16 21:17:02 +01:00
network mac80211: backport upstream patches for driver disconnect 2021-03-15 14:05:43 +01:00
system mtd: fix imagetag compilation 2021-03-17 08:42:05 +01:00
utils busybox: backport fixes for 1.33.0 2021-03-13 21:18:02 +01:00
Makefile build: always build package/kernel/linux 2020-10-15 13:25:58 +02:00