diff options
Diffstat (limited to 'console-tools/loadfont.c')
-rw-r--r-- | console-tools/loadfont.c | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/console-tools/loadfont.c b/console-tools/loadfont.c index 2421cadcf..3d8588565 100644 --- a/console-tools/loadfont.c +++ b/console-tools/loadfont.c | |||
@@ -7,18 +7,8 @@ | |||
7 | * Loads the console font, and possibly the corresponding screen map(s). | 7 | * Loads the console font, and possibly the corresponding screen map(s). |
8 | * (Adapted for busybox by Matej Vela.) | 8 | * (Adapted for busybox by Matej Vela.) |
9 | */ | 9 | */ |
10 | #include <stdio.h> | ||
11 | #include <string.h> | ||
12 | #include <fcntl.h> | ||
13 | #include <stdlib.h> | ||
14 | #include <unistd.h> | ||
15 | #include <sys/types.h> | ||
16 | #include <dirent.h> | ||
17 | #include <errno.h> | ||
18 | #include <sys/ioctl.h> | ||
19 | #include <sys/kd.h> | ||
20 | #include <endian.h> | ||
21 | #include "busybox.h" | 10 | #include "busybox.h" |
11 | #include <sys/kd.h> | ||
22 | 12 | ||
23 | enum{ | 13 | enum{ |
24 | PSF_MAGIC1 = 0x36, | 14 | PSF_MAGIC1 = 0x36, |
@@ -47,7 +37,7 @@ int loadfont_main(int argc, char **argv) | |||
47 | if (argc != 1) | 37 | if (argc != 1) |
48 | bb_show_usage(); | 38 | bb_show_usage(); |
49 | 39 | ||
50 | fd = bb_xopen(CURRENT_VC, O_RDWR); | 40 | fd = xopen(CURRENT_VC, O_RDWR); |
51 | loadnewfont(fd); | 41 | loadnewfont(fd); |
52 | 42 | ||
53 | return EXIT_SUCCESS; | 43 | return EXIT_SUCCESS; |