mirror of
https://github.com/Stichting-MINIX-Research-Foundation/u-boot.git
synced 2025-09-08 11:36:21 -04:00
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:
parent
1c6232f1e2
commit
3f1649fb0d
@ -6,7 +6,7 @@
|
|||||||
#include <watchdog.h>
|
#include <watchdog.h>
|
||||||
#include "LzmaDec.h"
|
#include "LzmaDec.h"
|
||||||
|
|
||||||
#include <string.h>
|
#include <linux/string.h>
|
||||||
|
|
||||||
#define kNumTopBits 24
|
#define kNumTopBits 24
|
||||||
#define kTopValue ((UInt32)1 << kNumTopBits)
|
#define kTopValue ((UInt32)1 << kNumTopBits)
|
||||||
|
@ -61,7 +61,6 @@ int lzmaBuffToBuffDecompress (unsigned char *outStream, SizeT *uncompressedSize,
|
|||||||
ISzAlloc g_Alloc;
|
ISzAlloc g_Alloc;
|
||||||
|
|
||||||
SizeT outSizeFull = 0xFFFFFFFF; /* 4GBytes limit */
|
SizeT outSizeFull = 0xFFFFFFFF; /* 4GBytes limit */
|
||||||
SizeT inProcessed;
|
|
||||||
SizeT outProcessed;
|
SizeT outProcessed;
|
||||||
SizeT outSize;
|
SizeT outSize;
|
||||||
SizeT outSizeHigh;
|
SizeT outSizeHigh;
|
||||||
|
@ -30,7 +30,7 @@ LIB = $(obj)liblzma.a
|
|||||||
|
|
||||||
SOBJS =
|
SOBJS =
|
||||||
|
|
||||||
CFLAGS += -D_LZMA_PROB32 -I$(TOPDIR)/include/linux
|
CFLAGS += -D_LZMA_PROB32
|
||||||
|
|
||||||
COBJS-$(CONFIG_LZMA) += LzmaDec.o LzmaTools.o
|
COBJS-$(CONFIG_LZMA) += LzmaDec.o LzmaTools.o
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user