aboutsummaryrefslogtreecommitdiff
path: root/console-tools/loadfont.c
diff options
context:
space:
mode:
Diffstat (limited to 'console-tools/loadfont.c')
-rw-r--r--console-tools/loadfont.c16
1 files changed, 9 insertions, 7 deletions
diff --git a/console-tools/loadfont.c b/console-tools/loadfont.c
index 31c6d2495..31221e080 100644
--- a/console-tools/loadfont.c
+++ b/console-tools/loadfont.c
@@ -21,13 +21,15 @@
21#include <endian.h> 21#include <endian.h>
22#include "busybox.h" 22#include "busybox.h"
23 23
24static const int PSF_MAGIC1 = 0x36; 24enum{
25static const int PSF_MAGIC2 = 0x04; 25 PSF_MAGIC1 = 0x36,
26 26 PSF_MAGIC2 = 0x04,
27static const int PSF_MODE512 = 0x01; 27
28static const int PSF_MODEHASTAB = 0x02; 28 PSF_MODE512 = 0x01,
29static const int PSF_MAXMODE = 0x03; 29 PSF_MODEHASTAB = 0x02,
30static const int PSF_SEPARATOR = 0xFFFF; 30 PSF_MAXMODE = 0x03,
31 PSF_SEPARATOR = 0xFFFF
32};
31 33
32struct psf_header { 34struct psf_header {
33 unsigned char magic1, magic2; /* Magic number */ 35 unsigned char magic1, magic2; /* Magic number */