Changeset b7fd2a0 in mainline for uspace/lib/c/generic/irq.c
- Timestamp:
- 2018-01-13T03:10:29Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- a53ed3a
- Parents:
- 36f0738
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/generic/irq.c
r36f0738 rb7fd2a0 63 63 * 64 64 */ 65 int ipc_irq_subscribe(int inr, sysarg_t method, const irq_code_t *ucode,65 errno_t ipc_irq_subscribe(int inr, sysarg_t method, const irq_code_t *ucode, 66 66 cap_handle_t *out_handle) 67 67 { … … 69 69 ucode = &default_ucode; 70 70 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, 72 72 (sysarg_t) out_handle); 73 73 } … … 80 80 * 81 81 */ 82 int ipc_irq_unsubscribe(cap_handle_t cap)82 errno_t ipc_irq_unsubscribe(cap_handle_t cap) 83 83 { 84 return ( int) __SYSCALL1(SYS_IPC_IRQ_UNSUBSCRIBE, cap);84 return (errno_t) __SYSCALL1(SYS_IPC_IRQ_UNSUBSCRIBE, cap); 85 85 } 86 86
Note:
See TracChangeset
for help on using the changeset viewer.