X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;f=crc%2Fcrc16.c;h=f593f710dfc12d7fa59a1e167e56ea193e1c0b58;hb=564de8d10188bc855343f915ca9fdbbf9c722465;hp=d9c4e4917643e2539ac72f8712894cb09ac2c4c0;hpb=fddc6604f91ebf76d9090741f9d4f5a4d33be0c6;p=fio.git diff --git a/crc/crc16.c b/crc/crc16.c index d9c4e491..f593f710 100644 --- a/crc/crc16.c +++ b/crc/crc16.c @@ -43,7 +43,7 @@ unsigned short const crc16_table[256] = { 0x8201, 0x42C0, 0x4380, 0x8341, 0x4100, 0x81C1, 0x8081, 0x4040 }; -unsigned short crc16(const void *buffer, unsigned int len) +unsigned short fio_crc16(const void *buffer, unsigned int len) { const unsigned char *cp = (const unsigned char *) buffer; unsigned short crc = 0;