projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
t/zbd: Reset all zones before test when max open zones is specified
[fio.git]
/
crc
/
crc32.c
diff --git
a/crc/crc32.c
b/crc/crc32.c
index 4afed1af68c0442d4043ccb3a153543c81cbfef5..e35f5d9308fec43927304f31d0d6bb600b48eeae 100644
(file)
--- a/
crc/crc32.c
+++ b/
crc/crc32.c
@@
-13,9
+13,8
@@
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software Foundation,
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software Foundation,
- Inc., 5
9 Temple Place - Suite 330, Boston, MA 02111-1307
, USA. */
+ Inc., 5
1 Franklin Street, Fifth Floor, Boston, MA 02110-1301
, USA. */
-#include <inttypes.h>
#include "crc32.h"
static const uint32_t crctab[256] = {
#include "crc32.h"
static const uint32_t crctab[256] = {
@@
-73,7
+72,7
@@
static const uint32_t crctab[256] = {
0xA2F33668, 0xBCB4666D, 0xB8757BDA, 0xB5365D03, 0xB1F740B4
};
0xA2F33668, 0xBCB4666D, 0xB8757BDA, 0xB5365D03, 0xB1F740B4
};
-uint32_t crc32(const void *buffer, unsigned long length)
+uint32_t
fio_
crc32(const void *buffer, unsigned long length)
{
const unsigned char *cp = (const unsigned char *) buffer;
uint32_t crc = 0;
{
const unsigned char *cp = (const unsigned char *) buffer;
uint32_t crc = 0;