aboutsummaryrefslogtreecommitdiffstats
path: root/wsutil
diff options
context:
space:
mode:
authorstig <stig@f5534014-38df-0310-8fa8-9805f1628bb7>2011-08-31 09:56:25 +0000
committerstig <stig@f5534014-38df-0310-8fa8-9805f1628bb7>2011-08-31 09:56:25 +0000
commitdd1ab1b801658731d329d6c0c88d8b7fc5d2e677 (patch)
treef1a8d9def779a1bfe0ed3dffb516e3b21319c509 /wsutil
parent0f5ed413f53a5219738c2275bcffc3c45c60541b (diff)
Try declaring tables with WS_VAR_IMPORT.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@38814 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'wsutil')
-rw-r--r--wsutil/crc32.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/wsutil/crc32.h b/wsutil/crc32.h
index 90d77ae31f..f69dba6ebf 100644
--- a/wsutil/crc32.h
+++ b/wsutil/crc32.h
@@ -43,7 +43,7 @@ extern "C" {
#define CRC32C(c,d) (c=(c>>8)^crc32c_table[(c^(d))&0xFF])
-extern const guint32 crc32c_table[256];
+WS_VAR_IMPORT const guint32 crc32c_table[256];
/** Compute CRC32C checksum of a buffer of data.
@param buf The buffer containing the data.
@@ -52,7 +52,7 @@ extern const guint32 crc32c_table[256];
@return The CRC32C checksum. */
extern guint32 crc32c_calculate(const void *buf, int len, guint32 crc);
-extern const guint32 crc32_ccitt_table[256];
+WS_VAR_IMPORT const guint32 crc32_ccitt_table[256];
/** Compute CRC32 CCITT checksum of a buffer of data.
@param buf The buffer containing the data.