diff options
Diffstat (limited to 'contrib/nvi/regex/regfree.c')
-rw-r--r-- | contrib/nvi/regex/regfree.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/contrib/nvi/regex/regfree.c b/contrib/nvi/regex/regfree.c index 61df17c..3329768 100644 --- a/contrib/nvi/regex/regfree.c +++ b/contrib/nvi/regex/regfree.c @@ -16,11 +16,7 @@ * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. - * 3. All advertising materials mentioning features or use of this software - * must display the following acknowledgement: - * This product includes software developed by the University of - * California, Berkeley and its contributors. - * 4. Neither the name of the University nor the names of its contributors + * 3. Neither the name of the University nor the names of its contributors * may be used to endorse or promote products derived from this software * without specific prior written permission. * @@ -53,12 +49,11 @@ static char sccsid[] = "@(#)regfree.c 8.2 (Berkeley) 3/16/94"; /* - regfree - free everything - = extern void regfree(regex_t *); */ void regfree(regex_t *preg) { - register struct re_guts *g; + struct re_guts *g; if (preg->re_magic != MAGIC1) /* oops */ return; /* nice to complain, but hard */ |