Commit baf6a677dc01509d54a9c1ee33cce412003f13be

Ran Benita 2012-03-02T22:34:14

Remove unused global type tokens Signed-off-by: Ran Benita <ran234@gmail.com>

diff --git a/src/xkbcomp/keytypes.c b/src/xkbcomp/keytypes.c
index fb1b5b4..98ae2ec 100644
--- a/src/xkbcomp/keytypes.c
+++ b/src/xkbcomp/keytypes.c
@@ -77,10 +77,10 @@ typedef struct _KeyTypesInfo
     VModInfo vmods;
 } KeyTypesInfo;
 
-uint32_t tok_ONE_LEVEL;
-uint32_t tok_TWO_LEVEL;
+static uint32_t tok_ONE_LEVEL;
+static uint32_t tok_TWO_LEVEL;
 static uint32_t tok_ALPHABETIC;
-uint32_t tok_KEYPAD;
+static uint32_t tok_KEYPAD;
 
 /***====================================================================***/
 
diff --git a/src/xkbcomp/symbols.c b/src/xkbcomp/symbols.c
index decea71..9ddcefa 100644
--- a/src/xkbcomp/symbols.c
+++ b/src/xkbcomp/symbols.c
@@ -40,10 +40,6 @@
 #include "misc.h"
 #include "alias.h"
 
-extern uint32_t tok_ONE_LEVEL;
-extern uint32_t tok_TWO_LEVEL;
-extern uint32_t tok_KEYPAD;
-
 /***====================================================================***/
 
 #define	RepeatYes	1
@@ -238,9 +234,6 @@ InitSymbolsInfo(SymbolsInfo * info, struct xkb_desc * xkb)
 {
     int i;
 
-    tok_ONE_LEVEL = xkb_intern_atom("ONE_LEVEL");
-    tok_TWO_LEVEL = xkb_intern_atom("TWO_LEVEL");
-    tok_KEYPAD = xkb_intern_atom("KEYPAD");
     info->name = NULL;
     info->explicit_group = 0;
     info->errorCount = 0;