summaryrefslogtreecommitdiff
path: root/libs/hunspell/src/phonet.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'libs/hunspell/src/phonet.hxx')
-rw-r--r--libs/hunspell/src/phonet.hxx8
1 files changed, 3 insertions, 5 deletions
diff --git a/libs/hunspell/src/phonet.hxx b/libs/hunspell/src/phonet.hxx
index eb9fd0c628..2d58b3ba1b 100644
--- a/libs/hunspell/src/phonet.hxx
+++ b/libs/hunspell/src/phonet.hxx
@@ -27,8 +27,8 @@
Porting from Aspell to Hunspell using C-like structs
*/
-#ifndef __PHONETHXX__
-#define __PHONETHXX__
+#ifndef PHONET_HXX_
+#define PHONET_HXX_
#define HASHSIZE 256
#define MAXPHONETLEN 256
@@ -38,9 +38,7 @@
struct phonetable {
char utf8;
- cs_info* lang;
- int num;
- char** rules;
+ std::vector<std::string> rules;
int hash[HASHSIZE];
};