summaryrefslogtreecommitdiff
path: root/usr.bin/mg/line.c
diff options
context:
space:
mode:
authorKjell Wooding <kjell@cvs.openbsd.org>2005-11-18 17:35:18 +0000
committerKjell Wooding <kjell@cvs.openbsd.org>2005-11-18 17:35:18 +0000
commita4f94e38f34900696413c2b2081454caad1495cb (patch)
tree25c5ff92a648f404c5348f84073043d149e5e2a6 /usr.bin/mg/line.c
parent9acacbb7501db6c7ac4bf2362b21871f00e9577f (diff)
Casefold on replace was killed ages ago (it was wrong). Remove a
leftover (unused) variable.
Diffstat (limited to 'usr.bin/mg/line.c')
-rw-r--r--usr.bin/mg/line.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/mg/line.c b/usr.bin/mg/line.c
index 0c8311fc6f6..814b8c0903d 100644
--- a/usr.bin/mg/line.c
+++ b/usr.bin/mg/line.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: line.c,v 1.26 2005/11/18 17:19:51 kjell Exp $ */
+/* $OpenBSD: line.c,v 1.27 2005/11/18 17:35:17 kjell Exp $ */
/* This file is in the public domain. */
@@ -578,7 +578,7 @@ ldelnewline(void)
* was there).
*/
int
-lreplace(RSIZE plen, char *st, int f)
+lreplace(RSIZE plen, char *st)
{
RSIZE rlen; /* replacement length */