gsb_crc32: Fix a warning when compiled in userland.

crc32_tab[] is only exposed as a global in <sys/gsb_crc32.h> for the
kernel, not for userland.

Sponsored by:	Chelsio Communications
Differential Revision:	https://reviews.freebsd.org/D40614
This commit is contained in:
John Baldwin 2023-07-31 13:24:18 -07:00
parent dd262a8273
commit 56e9a0136f

View file

@ -64,6 +64,9 @@ __FBSDID("$FreeBSD$");
#endif
#endif /* _KERNEL */
#ifndef _KERNEL
static
#endif
const uint32_t crc32_tab[] = {
0x00000000, 0x77073096, 0xee0e612c, 0x990951ba, 0x076dc419, 0x706af48f,
0xe963a535, 0x9e6495a3, 0x0edb8832, 0x79dcb8a4, 0xe0d5e91e, 0x97d2d988,