Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/hid/input/ctl/stty.c

    rb7fd2a0 rc072a29  
    4646
    4747static void stty_ctl_parse(sysarg_t);
    48 static errno_t stty_ctl_init(kbd_dev_t *);
     48static int stty_ctl_init(kbd_dev_t *);
    4949static void stty_ctl_set_ind(kbd_dev_t *, unsigned int);
    5050
     
    237237};
    238238
    239 static errno_t stty_ctl_init(kbd_dev_t *kdev)
     239static int stty_ctl_init(kbd_dev_t *kdev)
    240240{
    241241        kbd_dev = kdev;
     
    243243
    244244        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);
    249246}
    250247
Note: See TracChangeset for help on using the changeset viewer.