aboutsummaryrefslogtreecommitdiff
path: root/sys/libkern
diff options
context:
space:
mode:
authorRyan Libby <rlibby@FreeBSD.org>2024-07-02 19:12:22 +0000
committerRyan Libby <rlibby@FreeBSD.org>2024-07-02 19:12:22 +0000
commit19008cdf7befe5351b9118174432d107e0c39431 (patch)
tree74ed9eb10dfd4491c8b7dc4bcd09f7321f6e4307 /sys/libkern
parentde1e91339b17171e020029e1d49f361aa66c5146 (diff)
Diffstat (limited to 'sys/libkern')
-rw-r--r--sys/libkern/gsb_crc32.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/libkern/gsb_crc32.c b/sys/libkern/gsb_crc32.c
index 58bd3e720278..8cfee97d8d55 100644
--- a/sys/libkern/gsb_crc32.c
+++ b/sys/libkern/gsb_crc32.c
@@ -59,11 +59,7 @@
#include <machine/armreg.h>
#include <machine/ifunc.h>
#endif
-#endif /* _KERNEL */
-#ifndef _KERNEL
-static
-#endif
const uint32_t crc32_tab[] = {
0x00000000, 0x77073096, 0xee0e612c, 0x990951ba, 0x076dc419, 0x706af48f,
0xe963a535, 0x9e6495a3, 0x0edb8832, 0x79dcb8a4, 0xe0d5e91e, 0x97d2d988,
@@ -128,6 +124,7 @@ const uint32_t crc32_tab[] = {
* return crc ^ ~0U;
* }
*/
+#endif /* _KERNEL */
/* CRC32C routines, these use a different polynomial */
/*****************************************************************/