diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2007-02-03 20:28:39 +0300 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2007-02-03 20:28:39 +0300 |
commit | 06af2165288cd6516b89001ec9e24992619230e0 (patch) | |
tree | 840d22e507465aa6eb27c30c7ab8e80d9c469ae0 /console-tools/setkeycodes.c | |
parent | c7ba8b9d6c926231c1c191136b1ea0bc14b87771 (diff) |
suppress warnings about easch <applet>_main() having
no preceding prototype
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 @@ * Licensed under GPLv2 or later, see file LICENSE in this tarball for details. */ -#include <stdio.h> -#include <stdlib.h> -#include <fcntl.h> #include <sys/ioctl.h> #include "busybox.h" @@ -24,8 +21,8 @@ enum { KDSETKEYCODE = 0x4B4D /* write kernel keycode table entry */ }; -extern int -setkeycodes_main(int argc, char** argv) +int setkeycodes_main(int argc, char** argv); +int setkeycodes_main(int argc, char** argv) { int fd, sc; struct kbkeycode a; |