Ignore:
File:
1 edited

Legend:

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

    rd5c1051 rb7fd2a0  
    6363 *
    6464 */
    65 int ipc_irq_subscribe(int inr, sysarg_t method, const irq_code_t *ucode,
     65errno_t ipc_irq_subscribe(int inr, sysarg_t method, const irq_code_t *ucode,
    6666    cap_handle_t *out_handle)
    6767{
     
    6969                ucode = &default_ucode;
    7070       
    71         return (int) __SYSCALL4(SYS_IPC_IRQ_SUBSCRIBE, inr, method, (sysarg_t) ucode,
     71        return (errno_t) __SYSCALL4(SYS_IPC_IRQ_SUBSCRIBE, inr, method, (sysarg_t) ucode,
    7272            (sysarg_t) out_handle);
    7373}
     
    8080 *
    8181 */
    82 int ipc_irq_unsubscribe(cap_handle_t cap)
     82errno_t ipc_irq_unsubscribe(cap_handle_t cap)
    8383{
    84         return (int) __SYSCALL1(SYS_IPC_IRQ_UNSUBSCRIBE, cap);
     84        return (errno_t) __SYSCALL1(SYS_IPC_IRQ_UNSUBSCRIBE, cap);
    8585}
    8686
Note: See TracChangeset for help on using the changeset viewer.