From 23fbd51a6871420afd6143750f2f65a39231b503 Mon Sep 17 00:00:00 2001 From: Jeremy Katz Date: Tue, 3 Dec 2002 21:16:42 +0000 Subject: move keymap declaration stuff to a common header --- isys/lang.c | 14 -------------- isys/lang.h | 14 ++++++++++++++ 2 files changed, 14 insertions(+), 14 deletions(-) (limited to 'isys') 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); -- cgit