001-crc32_func_signature.patch 581 B

12345678910111213
  1. Index: uboot-envtools-20080520/crc32.c
  2. ===================================================================
  3. --- uboot-envtools-20080520.orig/crc32.c 2008-08-03 16:02:43.000000000 +0200
  4. +++ uboot-envtools-20080520/crc32.c 2008-08-03 16:03:25.000000000 +0200
  5. @@ -154,7 +154,7 @@
  6. #define DO8(buf) DO4(buf); DO4(buf);
  7. /* ========================================================================= */
  8. -uint32_t ZEXPORT crc32 (uint32_t crc, const Bytef *buf, uInt len)
  9. +uLong ZEXPORT crc32 (uLong crc, const Bytef *buf, uInt len)
  10. {
  11. #ifdef DYNAMIC_CRC_TABLE
  12. if (crc_table_empty)