From 9a6ac9985a33551cdac8fc7b0e4b89ba74fabc21 Mon Sep 17 00:00:00 2001 From: "Jonathan M. Henson" Date: Mon, 12 Feb 2024 18:35:11 -0800 Subject: [PATCH] try again. --- include/aws/checksums/private/crc_priv.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/include/aws/checksums/private/crc_priv.h b/include/aws/checksums/private/crc_priv.h index d2e3629..8953778 100644 --- a/include/aws/checksums/private/crc_priv.h +++ b/include/aws/checksums/private/crc_priv.h @@ -22,12 +22,11 @@ typedef struct { uint64_t x64[2]; // x^96 mod P(x) / x^64 mod P(x) uint64_t mu_poly[2]; // Barrett mu / 33-bit polynomial P(x) uint64_t trailing[15][2]; // Folding constants for 15 possible trailing input data lengths -} aws_checksums_crc32_constants_t; +} aws_checksums_crc32_constants_t; +extern aws_checksums_crc32_constants_t aws_checksums_crc32_constants; AWS_EXTERN_C_BEGIN -AWS_CHECKSUMS_API aws_checksums_crc32_constants_t aws_checksums_crc32_constants; - /* Computes CRC32 (Ethernet, gzip, et. al.) using a (slow) reference implementation. */ AWS_CHECKSUMS_API uint32_t aws_checksums_crc32_sw(const uint8_t *input, int length, uint32_t previousCrc32);