aboutsummaryrefslogtreecommitdiff
path: root/util/cbfstool/lzma/C/LzmaDec.h
diff options
context:
space:
mode:
authorAlexandru Gagniuc <mr.nuke.me@gmail.com>2014-01-27 14:25:19 -0600
committerAlexandru Gagniuc <mr.nuke.me@gmail.com>2014-01-29 20:05:09 +0100
commit5719bdc81ce87a0a511561ee2d98eb6ef8dbf6f8 (patch)
treedf86b658824b96a78be2754691c5eb805b098b0c /util/cbfstool/lzma/C/LzmaDec.h
parent91e9f27973aba1988b32e694add144ab852dfece (diff)
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 <mr.nuke.me@gmail.com> Reviewed-on: http://review.coreboot.org/4835 Tested-by: build bot (Jenkins) Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
Diffstat (limited to 'util/cbfstool/lzma/C/LzmaDec.h')
-rw-r--r--util/cbfstool/lzma/C/LzmaDec.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/util/cbfstool/lzma/C/LzmaDec.h b/util/cbfstool/lzma/C/LzmaDec.h
index 3d06b584a5..a38a71434f 100644
--- a/util/cbfstool/lzma/C/LzmaDec.h
+++ b/util/cbfstool/lzma/C/LzmaDec.h
@@ -6,10 +6,6 @@
#include "Types.h"
-#ifdef __cplusplus
-extern "C" {
-#endif
-
/* #define _LZMA_PROB32 */
/* _LZMA_PROB32 can increase the speed on some CPUs,
but memory usage for CLzmaDec::probs will be doubled in that case */
@@ -224,8 +220,4 @@ SRes LzmaDecode(uint8_t *dest, size_t *destLen, const uint8_t *src, size_t *srcL
const uint8_t *propData, unsigned propSize, ELzmaFinishMode finishMode,
ELzmaStatus *status, ISzAlloc *alloc);
-#ifdef __cplusplus
-}
-#endif
-
#endif