Changeset 973ef9fc in mainline for uspace/srv/clip/clip.c
- Timestamp:
- 2010-12-25T21:20:28Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 631ee0c
- Parents:
- 1bfd3d3 (diff), 09178b7f (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/clip/clip.c
r1bfd3d3 r973ef9fc 118 118 } 119 119 120 ipcarg_t retval = async_data_read_finalize(callid, clip_data, size);120 sysarg_t retval = async_data_read_finalize(callid, clip_data, size); 121 121 if (retval != EOK) { 122 122 ipc_answer_0(rid, retval); … … 145 145 146 146 fibril_mutex_unlock(&clip_mtx); 147 ipc_answer_2(rid, EOK, ( ipcarg_t) size, (ipcarg_t) tag);147 ipc_answer_2(rid, EOK, (sysarg_t) size, (sysarg_t) tag); 148 148 } 149 149 … … 158 158 ipc_callid_t callid = async_get_call(&call); 159 159 160 switch (IPC_GET_ METHOD(call)) {160 switch (IPC_GET_IMETHOD(call)) { 161 161 case IPC_M_PHONE_HUNGUP: 162 162 cont = false; … … 172 172 break; 173 173 default: 174 if (!(callid & IPC_CALLID_NOTIFICATION)) 175 ipc_answer_0(callid, ENOENT); 174 ipc_answer_0(callid, ENOENT); 176 175 } 177 176 } … … 184 183 async_set_client_connection(clip_connection); 185 184 186 ipcarg_t phonead;185 sysarg_t phonead; 187 186 if (ipc_connect_to_me(PHONE_NS, SERVICE_CLIPBOARD, 0, 0, &phonead) != 0) 188 187 return -1;
Note:
See TracChangeset
for help on using the changeset viewer.