aboutsummaryrefslogtreecommitdiff
path: root/src/liblzma/check/crc64_tablegen.c
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2008-01-08 00:48:30 +0200
committerLasse Collin <lasse.collin@tukaani.org>2008-01-08 00:48:30 +0200
commite2417b2b9134f3f65e14b61e23cd3644d8954353 (patch)
tree18ac44c6136dbb59a6b76058592d4d5528ec2951 /src/liblzma/check/crc64_tablegen.c
parentUpdated fi.po although it's currently pretty much crap. (diff)
downloadxz-e2417b2b9134f3f65e14b61e23cd3644d8954353.tar.xz
More pre-C99 inttypes.h compatibility fixes. Now the code
should work even if the system has no inttypes.h.
Diffstat (limited to '')
-rw-r--r--src/liblzma/check/crc64_tablegen.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/liblzma/check/crc64_tablegen.c b/src/liblzma/check/crc64_tablegen.c
index 4b35ac1f..78e39068 100644
--- a/src/liblzma/check/crc64_tablegen.c
+++ b/src/liblzma/check/crc64_tablegen.c
@@ -3,7 +3,7 @@
/// \file crc64_tablegen.c
/// \brief Generates CRC64 crc64_table.c
///
-/// Compiling: gcc -std=c99 -o crc64_tablegen crc64_tablegen.c crc64_init.c
+/// Compiling: gcc -std=c99 -o crc64_tablegen crc64_tablegen.c
/// Add -DWORDS_BIGENDIAN to generate big endian table.
//
// This code has been put into the public domain.
@@ -18,10 +18,7 @@
#include <inttypes.h>
#include <stdio.h>
-
-extern void lzma_crc64_init(void);
-
-extern uint64_t lzma_crc64_table[4][256];
+#include "crc64_init.c"
int