Changeset 5944244 in mainline for uspace/drv/uhci-hcd/utils/malloc32.h


Ignore:
Timestamp:
2011-02-01T23:25:48Z (14 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
1f5c1e61
Parents:
c56dbe0
Message:

Refactoring uhci_ functions are called on uhci_t not device_t

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/uhci-hcd/utils/malloc32.h

    rc56dbe0 r5944244  
    7474        { return memalign(alignment, size); }
    7575
    76 static inline void free32(void * addr)
    77         { free(addr); }
     76static inline void free32(void *addr)
     77        { if (addr) free(addr); }
    7878
    7979#endif
Note: See TracChangeset for help on using the changeset viewer.