about summary refs log tree commit diff stats
path: root/src/UCdomap.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/UCdomap.h')
-rw-r--r--src/UCdomap.h33
1 files changed, 17 insertions, 16 deletions
diff --git a/src/UCdomap.h b/src/UCdomap.h
index 0009f6eb..7ddd835a 100644
--- a/src/UCdomap.h
+++ b/src/UCdomap.h
@@ -1,5 +1,9 @@
+
+#ifndef UCDOMAP_H
+#define UCDOMAP_H
+
 /*
- * [old comments: - kw ]
+ *  [old comments: - KW ]
  * consolemap.h
  *
  * Interface between console.c, selection.c  and UCmap.c
@@ -9,26 +13,23 @@
 #define IBMPC_MAP 2
 #define USER_MAP 3
 
-#ifndef MAX_CHARSETS
-#define MAX_CHARSETS
+#ifndef MAXCHARSETS
+#define MAXCHARSETS
 #endif
 
-extern int hashtable_contents_valid;
-extern unsigned char inverse_translate PARAMS((int glyph));
-extern u16 *set_translate PARAMS((int m));
-extern int conv_uni_to_pc PARAMS((long ucs));
-
-extern int hashtable_str_contents_valid;   /* ??? probably no use... */
-
 /* Some conventions i try to follow (loosely):
    [a-z]* only internal, names from linux driver code.
    UC_* to be only known internally.
    UC[A-Z]* to be exported to other parts of Lynx. -kw
 */
-
-extern void UC_Charset_Setup PARAMS((char * UC_MIMEcharset, char * UC_LYNXcharset,
-		      u8 * unicount, u16 * unitable, int nnuni,
-		      struct unimapdesc_str replacedesc, int lowest_eight,
+extern void UC_Charset_Setup PARAMS((
+	char *			UC_MIMEcharset,
+	char *			UC_LYNXcharset,
+	u8 *			unicount,
+	u16 *			unitable,
+	int			nnuni,
+	struct unimapdesc_str	replacedesc,
+	int			lowest_eight,
 			     int UC_rawuni));
 
 char *UC_GNsetMIMEnames[4] =
@@ -48,11 +49,11 @@ struct UC_charset {
   int lowest_eight;
   int enc;
 };
-char * UC_charsetMIMEnames[MAX_CHARSETS];
 
-PUBLIC struct UC_charset UCInfo[MAX_CHARSETS];
+PUBLIC struct UC_charset UCInfo[MAXCHARSETS];
 
 PUBLIC int UCNumCharsets;
 
 extern void UCInit NOARGS;
 
+#endif /* UCDOMAP_H */