From 457a1b96904b21161dfae2c56774764ac392278c Mon Sep 17 00:00:00 2001 From: Dale Weiler Date: Sat, 23 Nov 2013 07:47:16 -0500 Subject: [PATCH] Undefine macros after using them --- util.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/util.c b/util.c index 251c9d1..4300d3c 100644 --- a/util.c +++ b/util.c @@ -484,6 +484,9 @@ uint16_t util_crc16(uint16_t current, const char *GMQCC_RESTRICT k, size_t len) data += 8; } + #undef SELECT_BULK + #undef SELECT_DATA + /* deal with the rest with the byte method */ for (n = len & 7; n; --n) h = (uint16_t)(h << 8) ^ (*util_crc16_table)[(h >> 8) ^ *data++]; -- 2.39.2