summaryrefslogtreecommitdiff
path: root/console-tools
diff options
context:
space:
mode:
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 4ce6e86..13b7d89 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 2d70ffc..7f669bf 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 6221429..927c2ba 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>