summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNiall O'Higgins <niallo@cvs.openbsd.org>2005-10-16 11:35:12 +0000
committerNiall O'Higgins <niallo@cvs.openbsd.org>2005-10-16 11:35:12 +0000
commitae4b656004d35d45047bb835bcc321952e425d6c (patch)
tree9343b59134a6a733f128bcb013c5a67c26ca366b
parent5c878bffd4c8f2e79ac04ab05b1e58e28ab46d1c (diff)
- remove unused `rcsfile' parameter from checkin_getlogmsg()
-rw-r--r--usr.bin/rcs/ci.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/rcs/ci.c b/usr.bin/rcs/ci.c
index 9940be0ac58..45c64a981e5 100644
--- a/usr.bin/rcs/ci.c
+++ b/usr.bin/rcs/ci.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ci.c,v 1.33 2005/10/16 11:29:28 niallo Exp $ */
+/* $OpenBSD: ci.c,v 1.34 2005/10/16 11:35:11 niallo Exp $ */
/*
* Copyright (c) 2005 Niall O'Higgins <niallo@openbsd.org>
* All rights reserved.
@@ -51,7 +51,7 @@
#define DATE_MTIME -2
static char * checkin_diff_file(RCSFILE *, RCSNUM *, const char *);
-static char * checkin_getlogmsg(char *, RCSNUM *, RCSNUM *);
+static char * checkin_getlogmsg(RCSNUM *, RCSNUM *);
void
checkin_usage(void)
@@ -268,7 +268,7 @@ checkin_main(int argc, char **argv)
* If no log message specified, get it interactively.
*/
if (rcs_msg == NULL)
- rcs_msg = checkin_getlogmsg(fpath, frev, newrev);
+ rcs_msg = checkin_getlogmsg(frev, newrev);
/*
* Remove the lock
@@ -409,7 +409,7 @@ checkin_diff_file(RCSFILE *rfp, RCSNUM *rev, const char *filename)
* Get log message from user interactively.
*/
static char *
-checkin_getlogmsg(char *rcsfile, RCSNUM *rev, RCSNUM *rev2)
+checkin_getlogmsg(RCSNUM *rev, RCSNUM *rev2)
{
char *rcs_msg, buf[128], nrev[16], prev[16];
BUF *logbuf;