Changes in uspace/drv/hid/xtkbd/xtkbd.c [c657bd7:b7fd2a0] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/hid/xtkbd/xtkbd.c
rc657bd7 rb7fd2a0 205 205 * 206 206 */ 207 static int polling(void *arg)207 static errno_t polling(void *arg) 208 208 { 209 209 xt_kbd_t *kbd = arg; 210 210 size_t nread; 211 int rc;211 errno_t rc; 212 212 213 213 while (true) { … … 353 353 354 354 size_t nwr; 355 int rc = chardev_write(kbd->chardev, &cmds[0], 1, &nwr);355 errno_t rc = chardev_write(kbd->chardev, &cmds[0], 1, &nwr); 356 356 if (rc != EOK) { 357 357 async_answer_0(icallid, rc); … … 410 410 * 411 411 */ 412 int xt_kbd_init(xt_kbd_t *kbd, ddf_dev_t *dev)412 errno_t xt_kbd_init(xt_kbd_t *kbd, ddf_dev_t *dev) 413 413 { 414 414 async_sess_t *parent_sess; 415 415 bool bound = false; 416 int rc;416 errno_t rc; 417 417 418 418 kbd->client_sess = NULL;
Note:
See TracChangeset
for help on using the changeset viewer.