Changeset 7349ad5b in rtems
- Timestamp:
- Oct 28, 2005, 9:25:54 AM (15 years ago)
- Branches:
- 4.10, 4.11, 4.8, 4.9, 5, master
- Children:
- 8501446
- Parents:
- ce661e68
- Location:
- cpukit/zlib
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
cpukit/zlib/crc32.c
rce661e68 r7349ad5b 202 202 * This function can be used by asm versions of crc32() 203 203 */ 204 const u nsigned long FAR* ZEXPORT get_crc_table()204 const uLongf * ZEXPORT get_crc_table() 205 205 { 206 206 #ifdef DYNAMIC_CRC_TABLE … … 208 208 make_crc_table(); 209 209 #endif /* DYNAMIC_CRC_TABLE */ 210 return (const u nsigned long FAR*)crc_table;210 return (const uLongf *)crc_table; 211 211 } 212 212 … … 216 216 217 217 /* ========================================================================= */ 218 u nsigned long ZEXPORT crc32(crc, buf, len)219 u nsigned long crc;220 const unsigned char FAR*buf;221 u nsignedlen;218 uLong ZEXPORT crc32(crc, buf, len) 219 uLong crc; 220 const Bytef *buf; 221 uInt len; 222 222 { 223 223 if (buf == Z_NULL) return 0UL; -
cpukit/zlib/zutil.c
rce661e68 r7349ad5b 300 300 voidpf zcalloc (opaque, items, size) 301 301 voidpf opaque; 302 u nsigneditems;303 u nsignedsize;302 uInt items; 303 uInt size; 304 304 { 305 305 if (opaque) items += size - size; /* make compiler happy */ -
cpukit/zlib/zutil.h
rce661e68 r7349ad5b 252 252 253 253 254 voidpf zcalloc OF((voidpf opaque, u nsigned items, unsignedsize));254 voidpf zcalloc OF((voidpf opaque, uInt items, uInt size)); 255 255 void zcfree OF((voidpf opaque, voidpf ptr)); 256 256
Note: See TracChangeset
for help on using the changeset viewer.