aboutsummaryrefslogtreecommitdiff
path: root/src/CRC32.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/CRC32.cpp')
-rw-r--r--src/CRC32.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/CRC32.cpp b/src/CRC32.cpp
index aa31fb6..62e334f 100644
--- a/src/CRC32.cpp
+++ b/src/CRC32.cpp
@@ -18,6 +18,8 @@
#include "CRC32.h"
+// http://www.codeproject.com/KB/recipes/crc32_large.aspx
+
u32 crctable[256];
bool tableinited = false;
@@ -35,7 +37,7 @@ u32 _reflect(u32 refl, char ch)
return value;
}
-void inittable()
+void _inittable()
{
u32 polynomial = 0x04C11DB7;