Changes in uspace/srv/hid/input/ctl/stty.c [b7fd2a0:c072a29] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/hid/input/ctl/stty.c
rb7fd2a0 rc072a29 46 46 47 47 static void stty_ctl_parse(sysarg_t); 48 static errno_t stty_ctl_init(kbd_dev_t *);48 static int stty_ctl_init(kbd_dev_t *); 49 49 static void stty_ctl_set_ind(kbd_dev_t *, unsigned int); 50 50 … … 237 237 }; 238 238 239 static errno_t stty_ctl_init(kbd_dev_t *kdev)239 static int stty_ctl_init(kbd_dev_t *kdev) 240 240 { 241 241 kbd_dev = kdev; … … 243 243 244 244 gsp_init(&sp); 245 if (gsp_insert_defs(&sp, seq_defs) < 0) { 246 return EINVAL; 247 } 248 return EOK; 245 return gsp_insert_defs(&sp, seq_defs); 249 246 } 250 247
Note:
See TracChangeset
for help on using the changeset viewer.