Skip to contentSkip to conversation

Fix LZMA string.h header inclusion issue and remove unused variables.

PATCH New Luigi 'Comio' Mantellini 2 participants 2 messages Jul 28, 2009 – Aug 9, 2009

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Fix LZMA string.h header inclusion issue and remove unused variables.

From: 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
index acffb14..f941da2 100644
@@ -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
index 88ba399..408b577 100644
@@ -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
index 2916f21..57f03b0 100644
@@ -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
#1 lore raw

PATCH 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]>

---
 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