summaryrefslogtreecommitdiff
path: root/console-tools
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2007-05-31 22:42:12 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2007-05-31 22:42:12 +0000
commit9a7d38fe2448617df98ecaea7dbe6f3131088586 (patch)
tree5966d651dcb5588e24106791f9cd3647f358112b /console-tools
parentfad2b86c9e7eaadb973b50a1bc0e2accc1a96cfd (diff)
downloadbusybox-9a7d38fe2448617df98ecaea7dbe6f3131088586.tar.gz
delete tons of extra #includes
Diffstat (limited to 'console-tools')
-rw-r--r--console-tools/clear.c3
-rw-r--r--console-tools/reset.c3
-rw-r--r--console-tools/setkeycodes.c3
3 files changed, 1 insertions, 8 deletions
diff --git a/console-tools/clear.c b/console-tools/clear.c
index 053293ce2..3c7d704b5 100644
--- a/console-tools/clear.c
+++ b/console-tools/clear.c
@@ -10,11 +10,8 @@
/* no options, no getopt */
-#include <stdio.h>
-#include <stdlib.h>
#include "libbb.h"
-
int clear_main(int argc, char **argv);
int clear_main(int argc, char **argv)
{
diff --git a/console-tools/reset.c b/console-tools/reset.c
index c844e1511..deffe286d 100644
--- a/console-tools/reset.c
+++ b/console-tools/reset.c
@@ -10,9 +10,6 @@
/* no options, no getopt */
-#include <stdio.h>
-#include <stdlib.h>
-#include <unistd.h>
#include "libbb.h"
int reset_main(int argc, char **argv);
diff --git a/console-tools/setkeycodes.c b/console-tools/setkeycodes.c
index a0d291d30..0911ede50 100644
--- a/console-tools/setkeycodes.c
+++ b/console-tools/setkeycodes.c
@@ -9,10 +9,9 @@
* Licensed under GPLv2 or later, see file LICENSE in this tarball for details.
*/
-#include <sys/ioctl.h>
+//#include <sys/ioctl.h>
#include "libbb.h"
-
/* From <linux/kd.h> */
struct kbkeycode {
unsigned int scancode, keycode;