tools/mtd-utils: Mark some lzma functions as static
authorHauke Mehrtens <hauke@hauke-m.de>
Sun, 15 Apr 2018 11:01:16 +0000 (13:01 +0200)
committerHauke Mehrtens <hauke@hauke-m.de>
Sat, 28 Apr 2018 13:29:08 +0000 (15:29 +0200)
commitbf167f8a9a75894a4d7300755f141ec7cb8bc37d
tree0b4c9f71aba2ffe64c2455b6df24656f488ef26b
parent8dcd941d8b934891676a8d4bbef1ee78e89a4bf7
tools/mtd-utils: Mark some lzma functions as static

These functions are not declared in any header file and only used in
same compile unit, mark them as static to remove one gcc warning and
make it easier for the compiler to optimize them out.

This also fixes some style problems to make this patch match the version
in the packages folder.

This is copied from this commit to the mtd-utils we pack into the image:
56d0dd56e9c6efa79 ("mtd-utils: Mark some lzma functions as static")

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Tested-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
tools/mtd-utils/patches/130-lzma_jffs2.patch