openwrt/package/system/mtd/src
Á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
..
crc32.c packages: clean up the package folder 2013-06-21 16:54:37 +00:00
crc32.h packages: clean up the package folder 2013-06-21 16:54:37 +00:00
fis.c mtd: cleanup unused code and variables in fis.c 2019-07-17 23:06:02 +02:00
fis.h mtd: add CRC signature to RedBoot partition map 2019-07-17 22:59:29 +02:00
imagetag.c treewide: replace nbd@openwrt.org with nbd@nbd.name 2016-06-07 08:58:42 +02:00
jffs2.c treewide: replace nbd@openwrt.org with nbd@nbd.name 2016-06-07 08:58:42 +02:00
jffs2.h packages: clean up the package folder 2013-06-21 16:54:37 +00:00
linksys_bootcount.c mtd: base-files: Unify dual-firmware devices (Linksys) 2019-05-18 13:43:51 +02:00
Makefile mediatek: add support for Buffalo WSR-2533DHP2 2021-03-15 17:02:17 +01:00
md5.c packages: clean up the package folder 2013-06-21 16:54:37 +00:00
md5.h packages: clean up the package folder 2013-06-21 16:54:37 +00:00
mtd.c mtd: add option for TRX magic to fixtrx 2021-03-15 16:57:34 +01:00
mtd.h mtd: fix imagetag compilation 2021-03-17 08:42:05 +01:00
seama.c mtd: fix endianness detection on musl 2016-10-27 01:50:42 +03:00
seama.h mtd: seama: add md5 to header struct 2016-05-09 18:53:11 +02:00
tpl_ramips_recoveryflag.c mtd: add logic for TP-Link ramips recovery magic 2019-01-26 21:46:32 +01:00
trx.c mtd: add option for TRX magic to fixtrx 2021-03-15 16:57:34 +01:00
wrg.c mtd: add fixwrg command 2018-02-13 11:16:49 +01:00
wrgg.c mtd: Make fixwrgg command work on DIR-685 2019-05-18 16:37:30 +02:00
wrgg.h mtd: add fixwrgg command 2016-10-27 01:50:42 +03:00