projects
/
oweals
/
busybox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
gz_open and gz_close were left in, even when BB_FEATURE_TAR_GZIP was disabled.
[oweals/busybox.git]
/
loadkmap.c
diff --git
a/loadkmap.c
b/loadkmap.c
index a98601aec9c2dff53be8c458d9b1170e5f68f886..dcb5c1caa1ef2e4b6b3772018df441d1fe948fbb 100644
(file)
--- a/
loadkmap.c
+++ b/
loadkmap.c
@@
-20,7
+20,6
@@
*
*/
*
*/
-#include "busybox.h"
#include <errno.h>
#include <fcntl.h>
#include <stdio.h>
#include <errno.h>
#include <fcntl.h>
#include <stdio.h>
@@
-28,6
+27,7
@@
#include <stdlib.h>
#include <unistd.h>
#include <sys/ioctl.h>
#include <stdlib.h>
#include <unistd.h>
#include <sys/ioctl.h>
+#include "busybox.h"
#define BINARY_KEYMAP_MAGIC "bkeymap"
#define BINARY_KEYMAP_MAGIC "bkeymap"
@@
-51,7
+51,7
@@
int loadkmap_main(int argc, char **argv)
char flags[MAX_NR_KEYMAPS], buff[7];
if (argc != 1)
char flags[MAX_NR_KEYMAPS], buff[7];
if (argc != 1)
-
usage(loadkmap_usage
);
+
show_usage(
);
fd = open("/dev/tty0", O_RDWR);
if (fd < 0)
fd = open("/dev/tty0", O_RDWR);
if (fd < 0)