summaryrefslogtreecommitdiffstats
path: root/usr.bin/cvs/diff.c
diff options
context:
space:
mode:
authorjoris <joris@openbsd.org>2005-10-11 14:27:27 +0000
committerjoris <joris@openbsd.org>2005-10-11 14:27:27 +0000
commit1ff4dac1523381651c58dc835944a55829470c1f (patch)
treecea204aa4a5cb559d9e3f00b5e6e75b6d77fe10b /usr.bin/cvs/diff.c
parentfix "node add" (diff)
downloadwireguard-openbsd-1ff4dac1523381651c58dc835944a55829470c1f.tar.xz
wireguard-openbsd-1ff4dac1523381651c58dc835944a55829470c1f.zip
export diff_file variable so it can be set from without diff functions;
ok niallo@
Diffstat (limited to 'usr.bin/cvs/diff.c')
-rw-r--r--usr.bin/cvs/diff.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/cvs/diff.c b/usr.bin/cvs/diff.c
index 1b0edf0ee1a..a2eff2b513f 100644
--- a/usr.bin/cvs/diff.c
+++ b/usr.bin/cvs/diff.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: diff.c,v 1.60 2005/10/08 20:39:49 joris Exp $ */
+/* $OpenBSD: diff.c,v 1.61 2005/10/11 14:27:27 joris Exp $ */
/*
* Copyright (C) Caldera International Inc. 2001-2002.
* All rights reserved.
@@ -221,9 +221,9 @@ static char diffargs[128];
static int aflag, bflag, dflag, iflag, pflag, tflag, Tflag, wflag;
static int context;
int diff_format = D_NORMAL;
+char *diff_file = NULL;
static struct stat stb1, stb2;
static char *ifdefname, *ignore_pats;
-static const char *diff_file;
regex_t ignore_re;
static int *J; /* will be overlaid on class */