projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' of https://github.com/dyniusz/fio
[fio.git]
/
crc
/
crc32c.c
diff --git
a/crc/crc32c.c
b/crc/crc32c.c
index 8bbea685c47c5614e2d0f8303d3bb28d394bb30d..f6fc688748bfccae5edf0b31bd136a35585978d5 100644
(file)
--- a/
crc/crc32c.c
+++ b/
crc/crc32c.c
@@
-32,6
+32,8
@@
*/
#include <inttypes.h>
*/
#include <inttypes.h>
+#include "crc32c.h"
+
/*
* This is the CRC-32C table
* Generated with:
/*
* This is the CRC-32C table
* Generated with:
@@
-113,7
+115,7
@@
static const uint32_t crc32c_table[256] = {
* crc using table.
*/
* crc using table.
*/
-uint32_t crc32c(unsigned char const *data, unsigned long length)
+uint32_t crc32c
_sw
(unsigned char const *data, unsigned long length)
{
uint32_t crc = ~0;
{
uint32_t crc = ~0;