diff options
author | jb <jb@FreeBSD.org> | 1998-05-15 09:26:28 +0000 |
---|---|---|
committer | jb <jb@FreeBSD.org> | 1998-05-15 09:26:28 +0000 |
commit | d464adb4c03446481b775185f820a5c71f68ed29 (patch) | |
tree | f037b87e18c59d72327f385d7cc6acacb166a737 /usr.bin | |
parent | 64f861538720155a2c10a8769c069072c17954d4 (diff) | |
download | FreeBSD-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')
-rw-r--r-- | usr.bin/vgrind/extern.h | 2 | ||||
-rw-r--r-- | usr.bin/vgrind/regexp.c | 6 | ||||
-rw-r--r-- | usr.bin/vgrind/vfontedpr.c | 8 |
3 files changed, 8 insertions, 8 deletions
diff --git a/usr.bin/vgrind/extern.h b/usr.bin/vgrind/extern.h index 0526d56..946bcd5 100644 --- a/usr.bin/vgrind/extern.h +++ b/usr.bin/vgrind/extern.h @@ -37,7 +37,7 @@ typedef int boolean; extern boolean _escaped; /* if last character was an escape */ -extern char *_start; /* start of the current string */ +extern char *s_start; /* start of the current string */ extern char *l_acmbeg; /* string introducing a comment */ extern char *l_acmend; /* string ending a comment */ extern char *l_blkbeg; /* string begining of a block */ 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; diff --git a/usr.bin/vgrind/vfontedpr.c b/usr.bin/vgrind/vfontedpr.c index 7ba7da9..8b5102a 100644 --- a/usr.bin/vgrind/vfontedpr.c +++ b/usr.bin/vgrind/vfontedpr.c @@ -42,7 +42,7 @@ static const char copyright[] = static char sccsid[] = "@(#)vfontedpr.c 8.1 (Berkeley) 6/6/93"; #endif static const char rcsid[] = - "$Id: vfontedpr.c,v 1.9 1997/08/26 11:08:24 charnier Exp $"; + "$Id: vfontedpr.c,v 1.10 1997/09/18 14:07:33 phk Exp $"; #endif /* not lint */ #include <sys/types.h> @@ -366,7 +366,7 @@ putScp(os) char *blkeptr; /* end of a lexical block end */ char *nocomptr; /* end of a non-comment delimiter */ - _start = os; /* remember the start for expmatch */ + s_start = os; /* remember the start for expmatch */ _escaped = FALSE; if (nokeyw || incomm || instr) goto skip; @@ -572,14 +572,14 @@ putKcp (start, end, force) if (*start == '\t') { while (*start == '\t') start++; - i = tabs(_start, start) - margin / 8; + i = tabs(s_start, start) - margin / 8; printf("\\h'|%dn'", i * 10 + 1 - margin % 8); continue; } if (!nokeyw && !force) if ((*start == '#' || isidchr(*start)) - && (start == _start || !isidchr(start[-1]))) { + && (start == s_start || !isidchr(start[-1]))) { i = iskw(start); if (i > 0) { ps("\\*(+K"); |