Commit 3f1649fb authored by Luigi 'Comio' Mantellini's avatar Luigi 'Comio' Mantellini Committed by Wolfgang Denk
Browse files

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


Signed-off-by: default avatarLuigi 'Comio' Mantellini <luigi.mantellini@idf-hit.com>
parent 1c6232f1
......@@ -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)
......
......@@ -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;
......
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment