diff options
author | Andreas Mohr <andi@rhlx01.fht-esslingen.de> | 2006-06-25 08:47:57 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-06-25 13:01:09 -0400 |
commit | 5f507d9e05b4dbfee34f3d967623ad3fbf0f28b3 (patch) | |
tree | 3980edaeac02db4a4e6c5b2e1bb603c2533ebd33 /lib | |
parent | 3b364b8d584b94777f8446a943b3c65e75e758f8 (diff) |
[PATCH] constify libcrc32c table
constify a medium-large CRC code table.
Signed-off-by: Andreas Mohr <andi@lisas.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libcrc32c.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libcrc32c.c b/lib/libcrc32c.c index 52b6dc144ce3..60f46803af3f 100644 --- a/lib/libcrc32c.c +++ b/lib/libcrc32c.c | |||
@@ -88,7 +88,7 @@ crc32c_le(u32 crc, unsigned char const *p, size_t len) | |||
88 | * reflect output bytes = true | 88 | * reflect output bytes = true |
89 | */ | 89 | */ |
90 | 90 | ||
91 | static u32 crc32c_table[256] = { | 91 | static const u32 crc32c_table[256] = { |
92 | 0x00000000L, 0xF26B8303L, 0xE13B70F7L, 0x1350F3F4L, | 92 | 0x00000000L, 0xF26B8303L, 0xE13B70F7L, 0x1350F3F4L, |
93 | 0xC79A971FL, 0x35F1141CL, 0x26A1E7E8L, 0xD4CA64EBL, | 93 | 0xC79A971FL, 0x35F1141CL, 0x26A1E7E8L, 0xD4CA64EBL, |
94 | 0x8AD958CFL, 0x78B2DBCCL, 0x6BE22838L, 0x9989AB3BL, | 94 | 0x8AD958CFL, 0x78B2DBCCL, 0x6BE22838L, 0x9989AB3BL, |