Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/kornelski/7z.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'C/HuffEnc.h')
-rw-r--r--[-rwxr-xr-x]C/HuffEnc.h12
1 files changed, 4 insertions, 8 deletions
diff --git a/C/HuffEnc.h b/C/HuffEnc.h
index 9cf4bfde..92b6878d 100755..100644
--- a/C/HuffEnc.h
+++ b/C/HuffEnc.h
@@ -1,14 +1,12 @@
/* HuffEnc.h -- Huffman encoding
-2009-02-07 : Igor Pavlov : Public domain */
+2013-01-18 : Igor Pavlov : Public domain */
#ifndef __HUFF_ENC_H
#define __HUFF_ENC_H
-#include "Types.h"
+#include "7zTypes.h"
-#ifdef __cplusplus
-extern "C" {
-#endif
+EXTERN_C_BEGIN
/*
Conditions:
@@ -20,8 +18,6 @@ Conditions:
void Huffman_Generate(const UInt32 *freqs, UInt32 *p, Byte *lens, UInt32 num, UInt32 maxLen);
-#ifdef __cplusplus
-}
-#endif
+EXTERN_C_END
#endif