summaryrefslogtreecommitdiffstats
path: root/usr.bin/cvs/diff.c
diff options
context:
space:
mode:
authorjoris <joris@openbsd.org>2006-06-19 05:05:17 +0000
committerjoris <joris@openbsd.org>2006-06-19 05:05:17 +0000
commitbc5d89febeaab6c47cd95131528e7937f898db3c (patch)
tree2ae88e7d0cb087cb5b64d3178a7ddb1676bd755a /usr.bin/cvs/diff.c
parentregen (diff)
downloadwireguard-openbsd-bc5d89febeaab6c47cd95131528e7937f898db3c.tar.xz
wireguard-openbsd-bc5d89febeaab6c47cd95131528e7937f898db3c.zip
kill local and remote callback and just have one called fileproc.
we let the commands pass the correct function. all in preparation for remote.
Diffstat (limited to 'usr.bin/cvs/diff.c')
-rw-r--r--usr.bin/cvs/diff.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/usr.bin/cvs/diff.c b/usr.bin/cvs/diff.c
index a1943bf3a20..4e29819f2b2 100644
--- a/usr.bin/cvs/diff.c
+++ b/usr.bin/cvs/diff.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: diff.c,v 1.105 2006/06/16 20:01:10 joris Exp $ */
+/* $OpenBSD: diff.c,v 1.106 2006/06/19 05:05:17 joris Exp $ */
/*
* Copyright (c) 2006 Joris Vink <joris@openbsd.org>
*
@@ -95,8 +95,7 @@ cvs_diff(int argc, char **argv)
cr.enterdir = NULL;
cr.leavedir = NULL;
- cr.local = cvs_diff_local;
- cr.remote = NULL;
+ cr.fileproc = cvs_diff_local;
cr.flags = flags;
diff_rev1 = diff_rev2 = NULL;