From: Dale Weiler Date: Sat, 23 Nov 2013 12:45:45 +0000 (-0500) Subject: Mark restrict on input too X-Git-Tag: xonotic-v0.8.0~73 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=943cb2ca64f0e63d13f19d7eabc77701255ff989;p=xonotic%2Fgmqcc.git Mark restrict on input too --- diff --git a/util.c b/util.c index ebfafa1..251c9d1 100644 --- a/util.c +++ b/util.c @@ -456,7 +456,7 @@ static const uint16_t util_crc16_table[8][256] = {{ }}; /* Non - Reflected */ -uint16_t util_crc16(uint16_t current, const char *k, size_t len) { +uint16_t util_crc16(uint16_t current, const char *GMQCC_RESTRICT k, size_t len) { register uint16_t h = current; /* don't load twice */