Ignore:
Timestamp:
2013-09-09T21:51:32Z (12 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
8cbf1c3
Parents:
8442d10
Message:

cstyle

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/bus/usb/uhci/utils/malloc32.h

    r8442d10 rc67dbd6  
    9292 */
    9393static inline void free32(void *addr)
    94         { free(addr); }
     94{
     95        free(addr);
     96}
    9597
    9698/** Create 4KB page mapping
     
    98100 * @return Address of the mapped page, NULL on failure.
    99101 */
    100 static inline void * get_page(void)
     102static inline void *get_page(void)
    101103{
    102104        uintptr_t phys;
     
    106108            DMAMEM_4GiB, AS_AREA_READ | AS_AREA_WRITE, 0, &phys,
    107109            &address);
    108         return ret == EOK ? address : NULL;
     110       
     111        return ((ret == EOK) ? address : NULL);
    109112}
    110113
Note: See TracChangeset for help on using the changeset viewer.