summaryrefslogtreecommitdiff
path: root/usr.bin/cvs/util.c
diff options
context:
space:
mode:
authorRay Lai <ray@cvs.openbsd.org>2010-07-23 21:46:06 +0000
committerRay Lai <ray@cvs.openbsd.org>2010-07-23 21:46:06 +0000
commite8df46ebc95c21d2fa189e326823cccada62e7cc (patch)
tree48c7fb4aadada0cc104af21571a8b98cda5a6187 /usr.bin/cvs/util.c
parent4f1a72500c438538bed55293f2e724efc28584f0 (diff)
Reduce variable/function name and whitespace differences between
cvs/rcs. OK xsa zinovik
Diffstat (limited to 'usr.bin/cvs/util.c')
-rw-r--r--usr.bin/cvs/util.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/usr.bin/cvs/util.c b/usr.bin/cvs/util.c
index 458249124fd..f94e920c717 100644
--- a/usr.bin/cvs/util.c
+++ b/usr.bin/cvs/util.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: util.c,v 1.151 2009/03/24 06:59:19 joris Exp $ */
+/* $OpenBSD: util.c,v 1.152 2010/07/23 21:46:05 ray Exp $ */
/*
* Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org>
* Copyright (c) 2005, 2006 Joris Vink <joris@openbsd.org>
@@ -685,13 +685,13 @@ cvs_mkpath(const char *path, char *tag)
/*
* Split the contents of a file into a list of lines.
*/
-struct cvs_lines *
+struct rcs_lines *
cvs_splitlines(u_char *data, size_t len)
{
u_char *p, *c;
size_t i, tlen;
- struct cvs_lines *lines;
- struct cvs_line *lp;
+ struct rcs_lines *lines;
+ struct rcs_line *lp;
lines = xcalloc(1, sizeof(*lines));
TAILQ_INIT(&(lines->l_lines));
@@ -717,9 +717,9 @@ cvs_splitlines(u_char *data, size_t len)
}
void
-cvs_freelines(struct cvs_lines *lines)
+cvs_freelines(struct rcs_lines *lines)
{
- struct cvs_line *lp;
+ struct rcs_line *lp;
while ((lp = TAILQ_FIRST(&(lines->l_lines))) != NULL) {
TAILQ_REMOVE(&(lines->l_lines), lp, l_list);