summaryrefslogtreecommitdiff
path: root/usr.bin/mg/re_search.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/mg/re_search.c')
-rw-r--r--usr.bin/mg/re_search.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/usr.bin/mg/re_search.c b/usr.bin/mg/re_search.c
index 70fa6eb48c2..ffe546240fe 100644
--- a/usr.bin/mg/re_search.c
+++ b/usr.bin/mg/re_search.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: re_search.c,v 1.20 2005/11/18 17:35:17 kjell Exp $ */
+/* $OpenBSD: re_search.c,v 1.21 2005/11/18 20:56:53 deraadt Exp $ */
/* This file is in the public domain. */
@@ -211,7 +211,7 @@ static int
re_doreplace(RSIZE plen, char *st)
{
int j, k, s, more, num, state;
- LINE *clp;
+ struct line *clp;
char repstr[REPLEN];
clp = curwp->w_dotp;
@@ -299,7 +299,7 @@ static int
re_forwsrch(void)
{
int tbo, error;
- LINE *clp;
+ struct line *clp;
clp = curwp->w_dotp;
tbo = curwp->w_doto;
@@ -344,7 +344,7 @@ re_forwsrch(void)
static int
re_backsrch(void)
{
- LINE *clp;
+ struct line *clp;
int tbo;
regmatch_t lastmatch;
@@ -505,7 +505,7 @@ killmatches(int cond)
{
int s, error;
int count = 0;
- LINE *clp;
+ struct line *clp;
clp = curwp->w_dotp;
if (curwp->w_doto == llength(clp))
@@ -578,7 +578,7 @@ countmatches(int cond)
{
int error;
int count = 0;
- LINE *clp;
+ struct line *clp;
clp = curwp->w_dotp;
if (curwp->w_doto == llength(clp))