summaryrefslogtreecommitdiffstats
path: root/usr.bin/vgrind/regexp.c
diff options
context:
space:
mode:
authorjb <jb@FreeBSD.org>1998-05-15 09:26:28 +0000
committerjb <jb@FreeBSD.org>1998-05-15 09:26:28 +0000
commitd464adb4c03446481b775185f820a5c71f68ed29 (patch)
treef037b87e18c59d72327f385d7cc6acacb166a737 /usr.bin/vgrind/regexp.c
parent64f861538720155a2c10a8769c069072c17954d4 (diff)
downloadFreeBSD-src-d464adb4c03446481b775185f820a5c71f68ed29.zip
FreeBSD-src-d464adb4c03446481b775185f820a5c71f68ed29.tar.gz
Change the name of a variable from _start to s_start. On alpha there
must be a library function called _start.
Diffstat (limited to 'usr.bin/vgrind/regexp.c')
-rw-r--r--usr.bin/vgrind/regexp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/vgrind/regexp.c b/usr.bin/vgrind/regexp.c
index d606620..476a548e 100644
--- a/usr.bin/vgrind/regexp.c
+++ b/usr.bin/vgrind/regexp.c
@@ -54,7 +54,7 @@ static char sccsid[] = "@(#)regexp.c 8.1 (Berkeley) 6/6/93";
static void expconv __P((void));
boolean _escaped; /* true if we are currently _escaped */
-char *_start; /* start of string */
+char *s_start; /* start of string */
boolean l_onecase; /* true if upper and lower equivalent */
#define makelower(c) (isupper((c)) ? tolower((c)) : (c))
@@ -514,7 +514,7 @@ expmatch (s, re, mstring)
ptr = s;
while (*s == ' ' || *s == '\t')
s++;
- if (s != ptr || s == _start) {
+ if (s != ptr || s == s_start) {
/* match, be happy */
matched = 1;
@@ -566,7 +566,7 @@ expmatch (s, re, mstring)
/* check for start of line */
case '^':
- if (s == _start) {
+ if (s == s_start) {
/* match, be happy */
matched = 1;
OpenPOWER on IntegriCloud