forked from len0rd/rockbox
Small fixes to kbd_create_layout
- Make the argument const since it's not actually mutated - Actually return the size of the buffer used since this is what it was supposed to do (although no existing callers cared anyway) Change-Id: I0802071cf63d4af419f427ff54adca50b14918ad
This commit is contained in:
parent
740a50687f
commit
966e210e6d
2 changed files with 7 additions and 3 deletions
|
@ -22,6 +22,6 @@
|
|||
#define KBD_HELPER_H
|
||||
|
||||
/* create a custom keyboard layout for kbd_input */
|
||||
int kbd_create_layout(char *layout, unsigned short *buf, int bufsz);
|
||||
int kbd_create_layout(const char *layout, unsigned short *buf, int bufsz);
|
||||
|
||||
#endif /* KBD_HELPER_H */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue