Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F115621511
D45824.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
649 B
Referenced Files
None
Subscribers
None
D45824.diff
View Options
diff --git a/sys/libkern/gsb_crc32.c b/sys/libkern/gsb_crc32.c
--- 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 @@
* return crc ^ ~0U;
* }
*/
+#endif /* _KERNEL */
/* CRC32C routines, these use a different polynomial */
/*****************************************************************/
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Apr 27, 3:21 AM (19 h, 9 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
17812704
Default Alt Text
D45824.diff (649 B)
Attached To
Mode
D45824: gsb_crc32.c: avoid gcc -Wunused-const-variable in user build
Attached
Detach File
Event Timeline
Log In to Comment