Changes in uspace/lib/c/generic/event.c [b7fd2a0:d5c1051] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/generic/event.c
rb7fd2a0 rd5c1051 48 48 * 49 49 */ 50 errno_t ipc_event_subscribe(event_type_t evno, sysarg_t imethod)50 int ipc_event_subscribe(event_type_t evno, sysarg_t imethod) 51 51 { 52 return ( errno_t) __SYSCALL2(SYS_IPC_EVENT_SUBSCRIBE, (sysarg_t) evno,52 return (int) __SYSCALL2(SYS_IPC_EVENT_SUBSCRIBE, (sysarg_t) evno, 53 53 (sysarg_t) imethod); 54 54 } … … 62 62 * 63 63 */ 64 errno_t ipc_event_task_subscribe(event_task_type_t evno, sysarg_t imethod)64 int ipc_event_task_subscribe(event_task_type_t evno, sysarg_t imethod) 65 65 { 66 return ( errno_t) __SYSCALL2(SYS_IPC_EVENT_SUBSCRIBE, (sysarg_t) evno,66 return (int) __SYSCALL2(SYS_IPC_EVENT_SUBSCRIBE, (sysarg_t) evno, 67 67 (sysarg_t) imethod); 68 68 } … … 75 75 * 76 76 */ 77 errno_t ipc_event_unsubscribe(event_type_t evno)77 int ipc_event_unsubscribe(event_type_t evno) 78 78 { 79 return ( errno_t) __SYSCALL1(SYS_IPC_EVENT_UNSUBSCRIBE, (sysarg_t) evno);79 return (int) __SYSCALL1(SYS_IPC_EVENT_UNSUBSCRIBE, (sysarg_t) evno); 80 80 } 81 81 … … 87 87 * 88 88 */ 89 errno_t ipc_event_task_unsubscribe(event_task_type_t evno)89 int ipc_event_task_unsubscribe(event_task_type_t evno) 90 90 { 91 return ( errno_t) __SYSCALL1(SYS_IPC_EVENT_UNSUBSCRIBE, (sysarg_t) evno);91 return (int) __SYSCALL1(SYS_IPC_EVENT_UNSUBSCRIBE, (sysarg_t) evno); 92 92 } 93 93 … … 99 99 * 100 100 */ 101 errno_t ipc_event_unmask(event_type_t evno)101 int ipc_event_unmask(event_type_t evno) 102 102 { 103 return ( errno_t) __SYSCALL1(SYS_IPC_EVENT_UNMASK, (sysarg_t) evno);103 return (int) __SYSCALL1(SYS_IPC_EVENT_UNMASK, (sysarg_t) evno); 104 104 } 105 105 … … 111 111 * 112 112 */ 113 errno_t ipc_event_task_unmask(event_task_type_t evno)113 int ipc_event_task_unmask(event_task_type_t evno) 114 114 { 115 return ( errno_t) __SYSCALL1(SYS_IPC_EVENT_UNMASK, (sysarg_t) evno);115 return (int) __SYSCALL1(SYS_IPC_EVENT_UNMASK, (sysarg_t) evno); 116 116 } 117 117
Note:
See TracChangeset
for help on using the changeset viewer.