summaryrefslogtreecommitdiff
path: root/usr.bin/cvs/getlog.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/getlog.c
parent4f1a72500c438538bed55293f2e724efc28584f0 (diff)
Reduce variable/function name and whitespace differences between
cvs/rcs. OK xsa zinovik
Diffstat (limited to 'usr.bin/cvs/getlog.c')
-rw-r--r--usr.bin/cvs/getlog.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/usr.bin/cvs/getlog.c b/usr.bin/cvs/getlog.c
index 2b2028e5413..73917bc02a0 100644
--- a/usr.bin/cvs/getlog.c
+++ b/usr.bin/cvs/getlog.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: getlog.c,v 1.93 2009/03/26 17:30:04 joris Exp $ */
+/* $OpenBSD: getlog.c,v 1.94 2010/07/23 21:46:05 ray Exp $ */
/*
* Copyright (c) 2005, 2006 Xavier Santolaria <xsa@openbsd.org>
* Copyright (c) 2006 Joris Vink <joris@openbsd.org>
@@ -452,7 +452,7 @@ date_select(RCSFILE *file, char *date)
if (last == NULL) {
flags |= LDATE_SINGLE;
- firstdate = cvs_date_parse(first);
+ firstdate = date_parse(first);
delim = '\0';
last = "\0";
} else {
@@ -462,33 +462,33 @@ date_select(RCSFILE *file, char *date)
if (delim == '>' && *last == '\0') {
flags |= LDATE_EARLIER;
- firstdate = cvs_date_parse(first);
+ firstdate = date_parse(first);
}
if (delim == '>' && *first == '\0' && *last != '\0') {
flags |= LDATE_LATER;
- firstdate = cvs_date_parse(last);
+ firstdate = date_parse(last);
}
if (delim == '<' && *last == '\0') {
flags |= LDATE_LATER;
- firstdate = cvs_date_parse(first);
+ firstdate = date_parse(first);
}
if (delim == '<' && *first == '\0' && *last != '\0') {
flags |= LDATE_EARLIER;
- firstdate = cvs_date_parse(last);
+ firstdate = date_parse(last);
}
if (*first != '\0' && *last != '\0') {
flags |= LDATE_RANGE;
if (delim == '<') {
- firstdate = cvs_date_parse(first);
- lastdate = cvs_date_parse(last);
+ firstdate = date_parse(first);
+ lastdate = date_parse(last);
} else {
- firstdate = cvs_date_parse(last);
- lastdate = cvs_date_parse(first);
+ firstdate = date_parse(last);
+ lastdate = date_parse(first);
}
}