diff options
author | Jeremy Katz <katzj@redhat.com> | 2002-12-03 21:16:42 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2002-12-03 21:16:42 +0000 |
commit | 23fbd51a6871420afd6143750f2f65a39231b503 (patch) | |
tree | 537ab80ba5630bf900fcd957d73f003c583bf520 /isys | |
parent | e2d72d1a170698741cf25c42937d2223a3440cab (diff) | |
download | anaconda-23fbd51a6871420afd6143750f2f65a39231b503.tar.gz anaconda-23fbd51a6871420afd6143750f2f65a39231b503.tar.xz anaconda-23fbd51a6871420afd6143750f2f65a39231b503.zip |
move keymap declaration stuff to a common header
Diffstat (limited to 'isys')
-rw-r--r-- | isys/lang.c | 14 | ||||
-rw-r--r-- | isys/lang.h | 14 |
2 files changed, 14 insertions, 14 deletions
diff --git a/isys/lang.c b/isys/lang.c index 5d3f82868..7de53be20 100644 --- a/isys/lang.c +++ b/isys/lang.c @@ -51,20 +51,6 @@ int isysLoadFont(char * fontFile) { return 0; } -/* define ask johnsonm@redhat.com where this came from */ -#define KMAP_MAGIC 0x8B39C07F -#define KMAP_NAMELEN 40 /* including '\0' */ - -struct kmapHeader { - int magic; - int numEntries; -}; - -struct kmapInfo { - int size; - char name[KMAP_NAMELEN]; -}; - /* the file pointer must be at the beginning of the section already! */ int loadKeymap(gzFile stream) { int console; diff --git a/isys/lang.h b/isys/lang.h index b2e377c5d..2aa1d5605 100644 --- a/isys/lang.h +++ b/isys/lang.h @@ -3,6 +3,20 @@ #include "stubs.h" +/* define ask johnsonm@redhat.com where this came from */ +#define KMAP_MAGIC 0x8B39C07F +#define KMAP_NAMELEN 40 /* including '\0' */ + +struct kmapHeader { + int magic; + int numEntries; +}; + +struct kmapInfo { + int size; + char name[KMAP_NAMELEN]; +}; + int loadKeymap(gzFile stream); int isysLoadFont(char * fontFile); int isysLoadKeymap(char * keymap); |