diff options
author | Niall O'Higgins <niallo@cvs.openbsd.org> | 2006-03-15 21:20:58 +0000 |
---|---|---|
committer | Niall O'Higgins <niallo@cvs.openbsd.org> | 2006-03-15 21:20:58 +0000 |
commit | 34dfe6fe54213a8182227430de379339ed0ec7f6 (patch) | |
tree | 5ff86800d7481bd9645f27998b8e82f9b3d47c7c /usr.bin/rcs/rcsdiff.c | |
parent | 704d271eed5d1b0c71e12451edc30823a002de3a (diff) |
- zap filename arg in rcsdiff_rev() since its not used.
ok ray@
Diffstat (limited to 'usr.bin/rcs/rcsdiff.c')
-rw-r--r-- | usr.bin/rcs/rcsdiff.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/rcs/rcsdiff.c b/usr.bin/rcs/rcsdiff.c index 310fd6b6f4c..e79a0f52163 100644 --- a/usr.bin/rcs/rcsdiff.c +++ b/usr.bin/rcs/rcsdiff.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rcsdiff.c,v 1.37 2006/03/08 20:19:39 joris Exp $ */ +/* $OpenBSD: rcsdiff.c,v 1.38 2006/03/15 21:20:57 niallo Exp $ */ /* * Copyright (c) 2005 Joris Vink <joris@openbsd.org> * All rights reserved. @@ -30,7 +30,7 @@ #include "diff.h" static int rcsdiff_file(RCSFILE *, RCSNUM *, const char *); -static int rcsdiff_rev(RCSFILE *, RCSNUM *, RCSNUM *, const char *); +static int rcsdiff_rev(RCSFILE *, RCSNUM *, RCSNUM *); static int kflag = RCS_KWEXP_ERR; @@ -141,7 +141,7 @@ rcsdiff_main(int argc, char **argv) continue; } } else { - if (rcsdiff_rev(file, rev, rev2, argv[i]) < 0) { + if (rcsdiff_rev(file, rev, rev2) < 0) { rcs_close(file); status = 2; continue; @@ -244,7 +244,7 @@ out: } static int -rcsdiff_rev(RCSFILE *file, RCSNUM *rev1, RCSNUM *rev2, const char *filename) +rcsdiff_rev(RCSFILE *file, RCSNUM *rev1, RCSNUM *rev2) { int ret; char path1[MAXPATHLEN], path2[MAXPATHLEN]; |