X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fmathed%2Fmath_hash.C;h=ba5fb5cdccbed8f16d05a12ccbefec7cda996c55;hb=82fa210ea8d38d51aafb131f10d843e27e056429;hp=19ff2b7a6254cb11f561ab8d45c7970b94a183e3;hpb=e8db0ccc46566f36a1711e35c3758a2e785021f1;p=lyx.git diff --git a/src/mathed/math_hash.C b/src/mathed/math_hash.C index 19ff2b7a62..ba5fb5cdcc 100644 --- a/src/mathed/math_hash.C +++ b/src/mathed/math_hash.C @@ -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 -#include + #include #include @@ -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},