aboutsummaryrefslogtreecommitdiff
path: root/console-tools
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2000-08-10 17:59:11 +0000
committerEric Andersen <andersen@codepoet.org>2000-08-10 17:59:11 +0000
commit88f50b6bf5e79ca9d5f30e5899ace1cbda0950a4 (patch)
tree4871d5fdfd0c601396ef4651c3d1458bedb5a854 /console-tools
parent40406e6bad9abcd58977ed92194c9061d85c9e47 (diff)
downloadbusybox-88f50b6bf5e79ca9d5f30e5899ace1cbda0950a4.tar.gz
Some #include updates.
-Erik
Diffstat (limited to 'console-tools')
-rw-r--r--console-tools/dumpkmap.c2
-rw-r--r--console-tools/loadacm.c1
-rw-r--r--console-tools/loadfont.c1
3 files changed, 1 insertions, 3 deletions
diff --git a/console-tools/dumpkmap.c b/console-tools/dumpkmap.c
index 4ce6e8698..13b7d8937 100644
--- a/console-tools/dumpkmap.c
+++ b/console-tools/dumpkmap.c
@@ -81,7 +81,7 @@ int dumpkmap_main(int argc, char **argv)
errorMsg("ioctl returned: %s, %s, %s, %xqq\n",strerror(errno),(char *)&ke.kb_index,(char *)&ke.kb_table,(int)&ke.kb_value);
}
else {
- write(1,&ke.kb_value,2);
+ write(1,(void*)&ke.kb_value,2);
}
}
diff --git a/console-tools/loadacm.c b/console-tools/loadacm.c
index 2d70ffc5d..7f669bf08 100644
--- a/console-tools/loadacm.c
+++ b/console-tools/loadacm.c
@@ -18,7 +18,6 @@
#include <errno.h>
#include <signal.h>
#include <sys/types.h>
-#include <sys/stat.h>
#include <sys/ioctl.h>
#include <sys/kd.h>
diff --git a/console-tools/loadfont.c b/console-tools/loadfont.c
index 622142925..927c2bad4 100644
--- a/console-tools/loadfont.c
+++ b/console-tools/loadfont.c
@@ -15,7 +15,6 @@
#include <stdlib.h>
#include <unistd.h>
#include <sys/types.h>
-#include <sys/stat.h>
#include <dirent.h>
#include <errno.h>
#include <sys/ioctl.h>