Changeset 738ea75 in rtems


Ignore:
Timestamp:
Dec 18, 2008, 8:49:37 PM (10 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, master
Children:
0f4ad570
Parents:
ec11156e
Message:

2008-12-18 Joel Sherrill <joel.sherrill@…>

  • zutil.c, zutil.h: Make code match prototype to eliminate warnings.
Location:
cpukit/zlib
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • cpukit/zlib/ChangeLog

    rec11156e r738ea75  
     12008-12-18      Joel Sherrill <joel.sherrill@oarcorp.com>
     2
     3        * zutil.c, zutil.h: Make code match prototype to eliminate warnings.
     4
    152008-09-02      Ralf Corsépius <ralf.corsepius@rtems.org>
    26
  • cpukit/zlib/zutil.c

    rec11156e r738ea75  
    214214 */
    215215
    216 voidpf zcalloc (voidpf opaque, unsigned items, unsigned size)
     216voidpf zcalloc (voidpf opaque, uInt items, uInt size)
    217217{
    218218    voidpf buf = opaque; /* just to make some compilers happy */
     
    273273#endif
    274274
    275 voidpf zcalloc (voidpf opaque, unsigned items, unsigned size)
     275voidpf zcalloc (voidpf opaque, uInt items, uInt size)
    276276{
    277277    if (opaque) opaque = 0; /* to make compiler happy */
     
    298298#endif
    299299
    300 voidpf zcalloc (
    301     voidpf opaque,
    302     unsigned items,
    303     unsigned size)
     300voidpf zcalloc (voidpf opaque, uInt items, uInt size)
    304301{
    305302    if (opaque) items += size - size; /* make compiler happy */
  • cpukit/zlib/zutil.h

    rec11156e r738ea75  
    259259
    260260
    261 voidpf zcalloc OF((voidpf opaque, unsigned items, unsigned size));
     261voidpf zcalloc OF((voidpf opaque, uInt items, uInt size));
    262262void   zcfree  OF((voidpf opaque, voidpf ptr));
    263263
Note: See TracChangeset for help on using the changeset viewer.