summaryrefslogtreecommitdiff
path: root/wsutil/crc32.h
diff options
context:
space:
mode:
authorStig Bjørlykke <stig@bjorlykke.org>2011-08-31 09:56:25 +0000
committerStig Bjørlykke <stig@bjorlykke.org>2011-08-31 09:56:25 +0000
commit8b0361b62e22329e6aa229cc37d1c22de5e085d0 (patch)
treef1a8d9def779a1bfe0ed3dffb516e3b21319c509 /wsutil/crc32.h
parentcd5cb315d509d06d9ce22dd6f8841d6b2bf64682 (diff)
downloadwireshark-8b0361b62e22329e6aa229cc37d1c22de5e085d0.tar.gz
Try declaring tables with WS_VAR_IMPORT.
svn path=/trunk/; revision=38814
Diffstat (limited to 'wsutil/crc32.h')
-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.