diff options
author | Niall O'Higgins <niallo@cvs.openbsd.org> | 2005-11-17 00:22:31 +0000 |
---|---|---|
committer | Niall O'Higgins <niallo@cvs.openbsd.org> | 2005-11-17 00:22:31 +0000 |
commit | 88e98b3e6e36f50c1a44605894dcda65c095d11e (patch) | |
tree | 31cc0e0caa17add767b5bdec0276b474c492f392 /usr.bin/rcs | |
parent | e2667c13a9794f9efb060bf5f97336b914bb3c06 (diff) |
- "revdate" is something else - function should be called
checkin_mtimedate() for clarity.
Diffstat (limited to 'usr.bin/rcs')
-rw-r--r-- | usr.bin/rcs/ci.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/usr.bin/rcs/ci.c b/usr.bin/rcs/ci.c index e7600aafdc5..045c38058c7 100644 --- a/usr.bin/rcs/ci.c +++ b/usr.bin/rcs/ci.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ci.c,v 1.61 2005/11/17 00:16:35 niallo Exp $ */ +/* $OpenBSD: ci.c,v 1.62 2005/11/17 00:22:30 niallo Exp $ */ /* * Copyright (c) 2005 Niall O'Higgins <niallo@openbsd.org> * All rights reserved. @@ -72,7 +72,7 @@ static char * checkin_getinput(const char *); static char * checkin_getlogmsg(RCSNUM *, RCSNUM *); static void checkin_init(struct checkin_params *); static void checkin_revert(struct checkin_params *pb); -static int checkin_setrevdate(struct checkin_params *pb); +static int checkin_mtimedate(struct checkin_params *pb); void checkin_usage(void) @@ -327,7 +327,7 @@ checkin_main(int argc, char **argv) * time of the working file if -d has no argument. */ if (pb.date == DATE_MTIME - && (checkin_setrevdate(&pb) < 0)) + && (checkin_mtimedate(&pb) < 0)) continue; @@ -673,15 +673,15 @@ checkin_checklock(struct checkin_params *pb) } /* - * checkin_setrevdate() + * checkin_mtimedate() * * Set the date of the revision to be the last modification - * time of the working file if -d has no argument. + * time of the working file. * * On success, return 0. On error return -1. */ static int -checkin_setrevdate(struct checkin_params *pb) +checkin_mtimedate(struct checkin_params *pb) { struct stat sb; if (stat(pb->filename, &sb) != 0) { |