From: Howard Chu Date: Wed, 6 May 2026 14:04:18 +0000 (+0100) Subject: ITS#10500 back-ldif: crc32() should be static, not globally visible X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1c9bcd66282aa56b340041faef2c477ad7dc7112;p=thirdparty%2Fopenldap.git ITS#10500 back-ldif: crc32() should be static, not globally visible --- diff --git a/servers/slapd/back-ldif/ldif.c b/servers/slapd/back-ldif/ldif.c index f3022e3598..2743763d44 100644 --- a/servers/slapd/back-ldif/ldif.c +++ b/servers/slapd/back-ldif/ldif.c @@ -390,7 +390,7 @@ static const ber_uint_t crctab[256] = { #define CRC1 crc = crctab[(crc ^ *buf++) & 0xff] ^ (crc >> 8) #define CRC8 CRC1; CRC1; CRC1; CRC1; CRC1; CRC1; CRC1; CRC1 -unsigned int +static unsigned int crc32(const void *vbuf, int len) { const unsigned char *buf = vbuf;