aboutsummaryrefslogtreecommitdiff
path: root/console-tools/setkeycodes.c
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2007-02-03 17:28:39 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2007-02-03 17:28:39 +0000
commit06af2165288cd6516b89001ec9e24992619230e0 (patch)
tree840d22e507465aa6eb27c30c7ab8e80d9c469ae0 /console-tools/setkeycodes.c
parentc7ba8b9d6c926231c1c191136b1ea0bc14b87771 (diff)
downloadbusybox-w32-06af2165288cd6516b89001ec9e24992619230e0.tar.gz
busybox-w32-06af2165288cd6516b89001ec9e24992619230e0.tar.bz2
busybox-w32-06af2165288cd6516b89001ec9e24992619230e0.zip
suppress warnings about easch <applet>_main() having
no preceding prototype
Diffstat (limited to 'console-tools/setkeycodes.c')
-rw-r--r--console-tools/setkeycodes.c7
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
27extern int 24int setkeycodes_main(int argc, char** argv);
28setkeycodes_main(int argc, char** argv) 25int setkeycodes_main(int argc, char** argv)
29{ 26{
30 int fd, sc; 27 int fd, sc;
31 struct kbkeycode a; 28 struct kbkeycode a;