diff options
author | Hauke Mehrtens <hauke@hauke-m.de> | 2018-04-15 13:01:16 +0200 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2018-04-28 15:29:08 +0200 |
commit | bf167f8a9a75894a4d7300755f141ec7cb8bc37d (patch) | |
tree | 0b4c9f71aba2ffe64c2455b6df24656f488ef26b /tools/elftosb | |
parent | 8dcd941d8b934891676a8d4bbef1ee78e89a4bf7 (diff) | |
download | upstream-bf167f8a9a75894a4d7300755f141ec7cb8bc37d.tar.gz upstream-bf167f8a9a75894a4d7300755f141ec7cb8bc37d.tar.bz2 upstream-bf167f8a9a75894a4d7300755f141ec7cb8bc37d.zip |
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>
Diffstat (limited to 'tools/elftosb')
0 files changed, 0 insertions, 0 deletions