diff options
Diffstat (limited to 'console-tools/setkeycodes.c')
-rw-r--r-- | console-tools/setkeycodes.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/console-tools/setkeycodes.c b/console-tools/setkeycodes.c index d82525786..ff137d562 100644 --- a/console-tools/setkeycodes.c +++ b/console-tools/setkeycodes.c | |||
@@ -9,9 +9,6 @@ | |||
9 | * Licensed under GPLv2 or later, see file LICENSE in this tarball for details. | 9 | * Licensed under GPLv2 or later, see file LICENSE in this tarball for details. |
10 | */ | 10 | */ |
11 | 11 | ||
12 | #include <stdio.h> | ||
13 | #include <stdlib.h> | ||
14 | #include <fcntl.h> | ||
15 | #include <sys/ioctl.h> | 12 | #include <sys/ioctl.h> |
16 | #include "busybox.h" | 13 | #include "busybox.h" |
17 | 14 | ||
@@ -24,8 +21,8 @@ enum { | |||
24 | KDSETKEYCODE = 0x4B4D /* write kernel keycode table entry */ | 21 | KDSETKEYCODE = 0x4B4D /* write kernel keycode table entry */ |
25 | }; | 22 | }; |
26 | 23 | ||
27 | extern int | 24 | int setkeycodes_main(int argc, char** argv); |
28 | setkeycodes_main(int argc, char** argv) | 25 | int setkeycodes_main(int argc, char** argv) |
29 | { | 26 | { |
30 | int fd, sc; | 27 | int fd, sc; |
31 | struct kbkeycode a; | 28 | struct kbkeycode a; |