X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;f=crc%2Fcrc32.c;h=e35f5d9308fec43927304f31d0d6bb600b48eeae;hb=6c5d3a1c08bda1bbf22187c7b80573400e1c1053;hp=4afed1af68c0442d4043ccb3a153543c81cbfef5;hpb=13ddcb169f28e87e493f49887c7b06050d008c9c;p=fio.git diff --git a/crc/crc32.c b/crc/crc32.c index 4afed1af..e35f5d93 100644 --- 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, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -#include #include "crc32.h" static const uint32_t crctab[256] = { @@ -73,7 +72,7 @@ static const uint32_t crctab[256] = { 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;