summaryrefslogtreecommitdiffstats
path: root/tdespell2/plugins/ispell/lookup.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tdespell2/plugins/ispell/lookup.cpp')
-rw-r--r--tdespell2/plugins/ispell/lookup.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/tdespell2/plugins/ispell/lookup.cpp b/tdespell2/plugins/ispell/lookup.cpp
index b815ebd98..773cd88cb 100644
--- a/tdespell2/plugins/ispell/lookup.cpp
+++ b/tdespell2/plugins/ispell/lookup.cpp
@@ -266,13 +266,13 @@ int ISpellChecker::linit (char *hashname)
{
FILE* fpHash;
- register int i;
- register struct dent * dp;
+ int i;
+ struct dent * dp;
struct flagent * entry;
struct flagptr * ind;
int nextchar, x;
int viazero;
- register ichar_t * cp;
+ ichar_t * cp;
if ((fpHash = fopen (hashname, "rb")) == NULL)
{
@@ -571,7 +571,7 @@ int ISpellChecker::linit (char *hashname)
*/
void ISpellChecker::initckch (char *wchars)
{
- register ichar_t c;
+ ichar_t c;
char num[4];
for (c = 0; c < static_cast<ichar_t>(SET_SIZE+ m_hashheader.nstrchars); ++c)
@@ -656,7 +656,7 @@ void ISpellChecker::initckch (char *wchars)
*/
void ISpellChecker::clearindex (struct flagptr *indexp)
{
- register int i;
+ int i;
for (i = 0; i < SET_SIZE + m_hashheader.nstrchars; i++, indexp++)
{
if (indexp->numents == 0 && indexp->pu.fp != NULL)
@@ -669,10 +669,10 @@ void ISpellChecker::clearindex (struct flagptr *indexp)
#ifdef INDEXDUMP
static void dumpindex (indexp, depth)
- register struct flagptr * indexp;
- register int depth;
+ struct flagptr * indexp;
+ int depth;
{
- register int i;
+ int i;
int j;
int k;
char stripbuf[INPUTWORDLEN + 4 * MAXAFFIXLEN + 4];
@@ -733,8 +733,8 @@ static void dumpindex (indexp, depth)
*/
struct dent * ISpellChecker::ispell_lookup (ichar_t *s, int dotree)
{
- register struct dent * dp;
- register char * s1;
+ struct dent * dp;
+ char * s1;
char schar[INPUTWORDLEN + MAXAFFIXLEN];
dp = &m_hashtbl[hash (s, m_hashsize)];