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
path: root/C/7zCrc.c
diff options
context:
space:
mode:
Diffstat (limited to 'C/7zCrc.c')
-rw-r--r--[-rwxr-xr-x]C/7zCrc.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/C/7zCrc.c b/C/7zCrc.c
index cd94201b..503e3591 100755..100644
--- a/C/7zCrc.c
+++ b/C/7zCrc.c
@@ -1,5 +1,7 @@
/* 7zCrc.c -- CRC32 init
-2010-12-01 : Igor Pavlov : Public domain */
+2013-11-12 : Igor Pavlov : Public domain */
+
+#include "Precomp.h"
#include "7zCrc.h"
#include "CpuArch.h"
@@ -23,7 +25,7 @@
typedef UInt32 (MY_FAST_CALL *CRC_FUNC)(UInt32 v, const void *data, size_t size, const UInt32 *table);
-static CRC_FUNC g_CrcUpdate;
+CRC_FUNC g_CrcUpdate;
UInt32 g_CrcTable[256 * CRC_NUM_TABLES];
UInt32 MY_FAST_CALL CrcUpdate(UInt32 v, const void *data, size_t size)