Changeset 7349ad5b in rtems


Ignore:
Timestamp:
Oct 28, 2005, 9:25:54 AM (14 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
8501446
Parents:
ce661e68
Message:

Misc. type fixes

Location:
cpukit/zlib
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • cpukit/zlib/crc32.c

    rce661e68 r7349ad5b  
    202202 * This function can be used by asm versions of crc32()
    203203 */
    204 const unsigned long FAR * ZEXPORT get_crc_table()
     204const uLongf * ZEXPORT get_crc_table()
    205205{
    206206#ifdef DYNAMIC_CRC_TABLE
     
    208208        make_crc_table();
    209209#endif /* DYNAMIC_CRC_TABLE */
    210     return (const unsigned long FAR *)crc_table;
     210    return (const uLongf *)crc_table;
    211211}
    212212
     
    216216
    217217/* ========================================================================= */
    218 unsigned long ZEXPORT crc32(crc, buf, len)
    219     unsigned long crc;
    220     const unsigned char FAR *buf;
    221     unsigned len;
     218uLong ZEXPORT crc32(crc, buf, len)
     219    uLong crc;
     220    const Bytef *buf;
     221    uInt len;
    222222{
    223223    if (buf == Z_NULL) return 0UL;
  • cpukit/zlib/zutil.c

    rce661e68 r7349ad5b  
    300300voidpf zcalloc (opaque, items, size)
    301301    voidpf opaque;
    302     unsigned items;
    303     unsigned size;
     302    uInt items;
     303    uInt size;
    304304{
    305305    if (opaque) items += size - size; /* make compiler happy */
  • cpukit/zlib/zutil.h

    rce661e68 r7349ad5b  
    252252
    253253
    254 voidpf zcalloc OF((voidpf opaque, unsigned items, unsigned size));
     254voidpf zcalloc OF((voidpf opaque, uInt items, uInt size));
    255255void   zcfree  OF((voidpf opaque, voidpf ptr));
    256256
Note: See TracChangeset for help on using the changeset viewer.