Changes in uspace/srv/hid/output/output.c [b7fd2a0:38d150e] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/hid/output/output.c
rb7fd2a0 r38d150e 80 80 static void srv_yield(ipc_callid_t iid, ipc_call_t *icall) 81 81 { 82 errno_t ret = EOK;82 int ret = EOK; 83 83 84 84 list_foreach(outdevs, link, outdev_t, dev) { 85 85 assert(dev->ops.yield); 86 86 87 errno_t rc = dev->ops.yield(dev);87 int rc = dev->ops.yield(dev); 88 88 if (rc != EOK) 89 89 ret = rc; … … 95 95 static void srv_claim(ipc_callid_t iid, ipc_call_t *icall) 96 96 { 97 errno_t ret = EOK;97 int ret = EOK; 98 98 99 99 list_foreach(outdevs, link, outdev_t, dev) { 100 100 assert(dev->ops.claim); 101 101 102 errno_t rc = dev->ops.claim(dev);102 int rc = dev->ops.claim(dev); 103 103 if (rc != EOK) 104 104 ret = rc; … … 170 170 } 171 171 172 errno_t rc = async_share_out_finalize(callid, &frontbuf->data);172 int rc = async_share_out_finalize(callid, &frontbuf->data); 173 173 if ((rc != EOK) || (frontbuf->data == AS_MAP_FAILED)) { 174 174 free(frontbuf); … … 467 467 /* Register server */ 468 468 async_set_fallback_port_handler(client_connection, NULL); 469 errno_t rc = loc_server_register(NAME);469 int rc = loc_server_register(NAME); 470 470 if (rc != EOK) { 471 471 printf("%s: Unable to register driver\n", NAME);
Note:
See TracChangeset
for help on using the changeset viewer.