New files to support disk I/O restructuring and (currently broken)
Windows version.
diff --git a/crc32.cc b/crc32.cc
index 2b9ee9a..d253dd9 100644
--- a/crc32.cc
+++ b/crc32.cc
@@ -16,19 +16,20 @@
#include <stdio.h>
#include <stdlib.h>
#include <sys/types.h>
+#include "crc32.h"
/* crc_tab[] -- this crcTable is being build by chksum_crc32GenTab().
* so make sure, you call it before using the other
* functions!
*/
-u_int32_t crc_tab[256];
+uint32_t crc_tab[256];
/* chksum_crc() -- to a given block, this one calculates the
* crc32-checksum until the length is
* reached. the crc32-checksum will be
* the result.
*/
-u_int32_t chksum_crc32 (unsigned char *block, unsigned int length)
+uint32_t chksum_crc32 (unsigned char *block, unsigned int length)
{
register unsigned long crc;
unsigned long i;