Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/generic/as.c

    rb7fd2a0 r38d150e  
    7474 *
    7575 */
    76 errno_t as_area_resize(void *address, size_t size, unsigned int flags)
     76int as_area_resize(void *address, size_t size, unsigned int flags)
    7777{
    78         return (errno_t) __SYSCALL3(SYS_AS_AREA_RESIZE, (sysarg_t) address,
     78        return __SYSCALL3(SYS_AS_AREA_RESIZE, (sysarg_t) address,
    7979            (sysarg_t) size, (sysarg_t) flags);
    8080}
     
    8888 *
    8989 */
    90 errno_t as_area_destroy(void *address)
     90int as_area_destroy(void *address)
    9191{
    92         return (errno_t) __SYSCALL1(SYS_AS_AREA_DESTROY, (sysarg_t) address);
     92        return __SYSCALL1(SYS_AS_AREA_DESTROY, (sysarg_t) address);
    9393}
    9494
     
    102102 *
    103103 */
    104 errno_t as_area_change_flags(void *address, unsigned int flags)
     104int as_area_change_flags(void *address, unsigned int flags)
    105105{
    106         return (errno_t) __SYSCALL2(SYS_AS_AREA_CHANGE_FLAGS, (sysarg_t) address,
     106        return __SYSCALL2(SYS_AS_AREA_CHANGE_FLAGS, (sysarg_t) address,
    107107            (sysarg_t) flags);
    108108}
     
    117117 *
    118118 */
    119 errno_t as_get_physical_mapping(const void *virt, uintptr_t *phys)
     119int as_get_physical_mapping(const void *virt, uintptr_t *phys)
    120120{
    121         return (errno_t) __SYSCALL2(SYS_PAGE_FIND_MAPPING, (sysarg_t) virt,
     121        return (int) __SYSCALL2(SYS_PAGE_FIND_MAPPING, (sysarg_t) virt,
    122122            (sysarg_t) phys);
    123123}
Note: See TracChangeset for help on using the changeset viewer.