summaryrefslogtreecommitdiff
path: root/console-tools
diff options
context:
space:
mode:
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 053293c..3c7d704 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 c844e15..deffe286 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 a0d291d..0911ede 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;