summaryrefslogtreecommitdiffstats
path: root/isys
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2002-12-03 21:16:42 +0000
committerJeremy Katz <katzj@redhat.com>2002-12-03 21:16:42 +0000
commit23fbd51a6871420afd6143750f2f65a39231b503 (patch)
tree537ab80ba5630bf900fcd957d73f003c583bf520 /isys
parente2d72d1a170698741cf25c42937d2223a3440cab (diff)
downloadanaconda-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.c14
-rw-r--r--isys/lang.h14
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);