Diff for /embedaddon/lighttpd/src/crc32.c between versions 1.1.1.1 and 1.1.1.2

version 1.1.1.1, 2013/10/14 10:32:47 version 1.1.1.2, 2016/11/02 10:35:00
Line 1 Line 1
   #include "first.h"
   
 #include "crc32.h"  #include "crc32.h"
   
 #define CRC32C(c,d) (c=(c>>8)^crc_c[(c^(d))&0xFF])  #define CRC32C(c,d) (c=(c>>8)^crc_c[(c^(d))&0xFF])
Line 70  static const unsigned int crc_c[256] = { Line 72  static const unsigned int crc_c[256] = {
 };  };
   
   
uint32_t generate_crc32c(char *buffer, size_t length) {uint32_t generate_crc32c(const char *buffer, size_t length) {
   size_t i;    size_t i;
   uint32_t crc32 = ~0L;    uint32_t crc32 = ~0L;
   

Removed from v.1.1.1.1  
changed lines
  Added in v.1.1.1.2


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>