]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_hash.C
several changes and fixes. Read the ChangeLog
[lyx.git] / src / mathed / math_hash.C
index 19ff2b7a6254cb11f561ab8d45c7970b94a183e3..ba5fb5cdccbed8f16d05a12ccbefec7cda996c55 100644 (file)
@@ -1,7 +1,7 @@
 /* C code produced by gperf version 2.5 (GNU C++ version) */
 /* Command-line: gperf -a -p -o -t -G -D keywords  */
 #include <config.h>
-#include <cstdio>
+
 #include <cstdlib>
 #include <cstring>
 
@@ -16,7 +16,8 @@
 #define MAX_HASH_VALUE 490
 /* maximum key range = 483, duplicates = 40 */
 
-static unsigned int
+static
+unsigned int
 math_hash (register char const *str, register int len)
 {
   static unsigned short asso_values[] = 
@@ -38,7 +39,8 @@ math_hash (register char const *str, register int len)
   return len + asso_values[str[len - 1]] + asso_values[str[0]];
 }
 
-static latexkeys wordlist[] = 
+static
+latexkeys wordlist[] = 
 {
       {"",0,0}, {"",0,0}, {"",0,0}, {"",0,0}, {"",0,0}, {"",0,0}, {"",0,0}, {"",0,0}, 
       {"setminus",  LM_TK_SYM, LM_setminus},