diff options
author | Mark Whitley <markw@lineo.com> | 2001-01-23 22:30:04 +0000 |
---|---|---|
committer | Mark Whitley <markw@lineo.com> | 2001-01-23 22:30:04 +0000 |
commit | 59ab025363d884deb2013dcaae6c968585a6ec72 (patch) | |
tree | 852d97bdc34c44dbcf29cc8b5cd9257a8c90f7b3 /console-tools/loadfont.c | |
parent | 2b8d07c590249991fae975652aae86f5fca91f81 (diff) | |
download | busybox-w32-59ab025363d884deb2013dcaae6c968585a6ec72.tar.gz busybox-w32-59ab025363d884deb2013dcaae6c968585a6ec72.tar.bz2 busybox-w32-59ab025363d884deb2013dcaae6c968585a6ec72.zip |
#define -> static const int. Also got rid of some big static buffers.
Diffstat (limited to 'console-tools/loadfont.c')
-rw-r--r-- | console-tools/loadfont.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/console-tools/loadfont.c b/console-tools/loadfont.c index 13a196fb0..08e07618e 100644 --- a/console-tools/loadfont.c +++ b/console-tools/loadfont.c | |||
@@ -21,13 +21,13 @@ | |||
21 | #include <sys/kd.h> | 21 | #include <sys/kd.h> |
22 | #include <endian.h> | 22 | #include <endian.h> |
23 | 23 | ||
24 | #define PSF_MAGIC1 0x36 | 24 | static const int PSF_MAGIC1 = 0x36; |
25 | #define PSF_MAGIC2 0x04 | 25 | static const int PSF_MAGIC2 = 0x04; |
26 | 26 | ||
27 | #define PSF_MODE512 0x01 | 27 | static const int PSF_MODE512 = 0x01; |
28 | #define PSF_MODEHASTAB 0x02 | 28 | static const int PSF_MODEHASTAB = 0x02; |
29 | #define PSF_MAXMODE 0x03 | 29 | static const int PSF_MAXMODE = 0x03; |
30 | #define PSF_SEPARATOR 0xFFFF | 30 | static const int PSF_SEPARATOR = 0xFFFF; |
31 | 31 | ||
32 | struct psf_header { | 32 | struct psf_header { |
33 | unsigned char magic1, magic2; /* Magic number */ | 33 | unsigned char magic1, magic2; /* Magic number */ |