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

Signed-off-by: Luigi 'Comio' Mantellini <luigi.mantellini@idf-hit.com>
This commit is contained in:
Luigi 'Comio' Mantellini 2009-07-28 09:33:17 +02:00 committed by Wolfgang Denk
parent 1c6232f1e2
commit 3f1649fb0d
3 changed files with 2 additions and 3 deletions

View file

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

View file

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

View file

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