Fix LZMA string.h header inclusion issue and remove unused variables.
PATCH 1/1 Fix LZMA string.h header inclusion issue and remove unused variables.
From: Luigi 'Comio' Mantellini <[email protected]>
Signed-off-by Luigi 'Comio' Mantellini <[email protected]>
--- lib_generic/lzma/LzmaDec.c | 2 +- lib_generic/lzma/LzmaTools.c | 1 - lib_generic/lzma/Makefile | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-)
lib_generic/lzma/LzmaDec.c +1 -1
@@ -6,7 +6,7 @@#include <watchdog.h> #include "LzmaDec.h" -#include <string.h> +#include <linux/string.h> #define kNumTopBits 24#define kTopValue ((UInt32)1 << kNumTopBits)
lib_generic/lzma/LzmaTools.c +0 -1
@@ -61,7 +61,6 @@ int lzmaBuffToBuffDecompress (unsigned char *outStream, SizeT *uncompressedSize,ISzAlloc g_Alloc;SizeT outSizeFull =0xFFFFFFFF ;/* 4GBytes limit */ -SizeT inProcessed;SizeT outProcessed;SizeT outSize;SizeT outSizeHigh;
lib_generic/lzma/Makefile +1 -1
@@ -30,7 +30,7 @@ LIB = $(obj)liblzma.a SOBJS = -CFLAGS += -D_LZMA_PROB32 -I$(TOPDIR)/include/linux +CFLAGS += -D_LZMA_PROB32 COBJS-$(CONFIG_LZMA) += LzmaDec.o LzmaTools.o
Signature · 1 line
1.6.0.4
Wolfgang Denk
AppliedPATCH 1/1 Fix LZMA string.h header inclusion issue and remove unused variables.
Dear Luigi 'Comio' Mantellini,
Quoted 9 lines · In message <[email protected]> you…
From: Luigi 'Comio' Mantellini <[email protected]>
Signed-off-by Luigi 'Comio' Mantellini <[email protected]>--- lib_generic/lzma/LzmaDec.c | 2 +- lib_generic/lzma/LzmaTools.c | 1 - lib_generic/lzma/Makefile | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-)
Applied, thanks.
Best regards,
Wolfgang Denk
Signature · 5 lines
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de There are certain things men must do to remain men. -- Kirk, "The Ultimate Computer", stardate 4929.4