From 5719bdc81ce87a0a511561ee2d98eb6ef8dbf6f8 Mon Sep 17 00:00:00 2001 From: Alexandru Gagniuc Date: Mon, 27 Jan 2014 14:25:19 -0600 Subject: cbfstool/lzma: Remove C++ remnants The original lzma code was probably designed as a library, and had tons of checks for __cplusplus and extern "C". They were not removed when imported, but remove them now. Change-Id: I4ae6e7739d191093c57130de8ae40da835e81bd1 Signed-off-by: Alexandru Gagniuc Reviewed-on: http://review.coreboot.org/4835 Tested-by: build bot (Jenkins) Reviewed-by: Ronald G. Minnich --- util/cbfstool/lzma/C/LzmaEnc.h | 8 -------- 1 file changed, 8 deletions(-) (limited to 'util/cbfstool/lzma/C/LzmaEnc.h') diff --git a/util/cbfstool/lzma/C/LzmaEnc.h b/util/cbfstool/lzma/C/LzmaEnc.h index 7a6cb59a73..376baf2b38 100644 --- a/util/cbfstool/lzma/C/LzmaEnc.h +++ b/util/cbfstool/lzma/C/LzmaEnc.h @@ -6,10 +6,6 @@ #include "Types.h" -#ifdef __cplusplus -extern "C" { -#endif - #define LZMA_PROPS_SIZE 5 typedef struct _CLzmaEncProps @@ -73,8 +69,4 @@ SRes LzmaEncode(uint8_t *dest, size_t *destLen, const uint8_t *src, size_t srcLe const CLzmaEncProps *props, uint8_t *propsEncoded, size_t *propsSize, int writeEndMark, ICompressProgress *progress, ISzAlloc *alloc, ISzAlloc *allocBig); -#ifdef __cplusplus -} -#endif - #endif -- cgit v1.2.3