diff options
author | mp <mp@FreeBSD.org> | 2005-04-24 19:41:08 +0000 |
---|---|---|
committer | mp <mp@FreeBSD.org> | 2005-04-24 19:41:08 +0000 |
commit | 94a109bd814074f290affa8f7698847719d55833 (patch) | |
tree | 6daeb0464a7bc8705c0246b7fd98e212b6beed09 /contrib/tcsh/tw.spell.c | |
parent | bbd1addf8f9452690ad13ce5b875ee4cc9633958 (diff) | |
download | FreeBSD-src-94a109bd814074f290affa8f7698847719d55833.zip FreeBSD-src-94a109bd814074f290affa8f7698847719d55833.tar.gz |
Import of tcsh-6.14.00
Diffstat (limited to 'contrib/tcsh/tw.spell.c')
-rw-r--r-- | contrib/tcsh/tw.spell.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/contrib/tcsh/tw.spell.c b/contrib/tcsh/tw.spell.c index f3cba9d..65efded 100644 --- a/contrib/tcsh/tw.spell.c +++ b/contrib/tcsh/tw.spell.c @@ -1,4 +1,4 @@ -/* $Header: /src/pub/tcsh/tw.spell.c,v 3.15 2002/03/08 17:36:47 christos Exp $ */ +/* $Header: /src/pub/tcsh/tw.spell.c,v 3.17 2004/11/23 02:10:50 christos Exp $ */ /* * tw.spell.c: Spell check words */ @@ -32,7 +32,7 @@ */ #include "sh.h" -RCSID("$Id: tw.spell.c,v 3.15 2002/03/08 17:36:47 christos Exp $") +RCSID("$Id: tw.spell.c,v 3.17 2004/11/23 02:10:50 christos Exp $") #include "tw.h" @@ -46,9 +46,9 @@ spell_me(oldname, oldsize, looking, pat, suf) { /* The +1 is to fool hp's optimizer */ Char guess[FILSIZ + 1], newname[FILSIZ + 1]; - register Char *new = newname, *old = oldname; - register Char *p, *cp, *ws; - bool foundslash = 0; + Char *new = newname, *old = oldname; + Char *p, *cp, *ws; + int foundslash = 0; int retval; for (;;) { @@ -111,7 +111,7 @@ spell_me(oldname, oldsize, looking, pat, suf) int spdist(s, t) - register Char *s, *t; + Char *s, *t; { for (; (*s & TRIM) == (*t & TRIM); t++, s++) if (*t == '\0') |