summaryrefslogtreecommitdiffstats
path: root/usr.bin/diff/diff.h
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>2004-12-09 18:56:10 +0000
committermillert <millert@openbsd.org>2004-12-09 18:56:10 +0000
commit7bdb251ca794d7fa0900fc962cba0bd9ae2ce98d (patch)
tree6cc2b48f4b2a8641b47410912bd43611cb2d210a /usr.bin/diff/diff.h
parentwhile upgrading, protect deletion in an eval: we've got an extract (diff)
downloadwireguard-openbsd-7bdb251ca794d7fa0900fc962cba0bd9ae2ce98d.tar.xz
wireguard-openbsd-7bdb251ca794d7fa0900fc962cba0bd9ae2ce98d.zip
If the -L option is specified twice, use it for the second filename
like GNU diff does. Adapted from a diff by YAMAMOTO Takashi
Diffstat (limited to 'usr.bin/diff/diff.h')
-rw-r--r--usr.bin/diff/diff.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/diff/diff.h b/usr.bin/diff/diff.h
index 8d5e70813dd..817057d8ca6 100644
--- a/usr.bin/diff/diff.h
+++ b/usr.bin/diff/diff.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: diff.h,v 1.28 2004/06/20 18:47:45 otto Exp $ */
+/* $OpenBSD: diff.h,v 1.29 2004/12/09 18:56:10 millert Exp $ */
/*-
* Copyright (c) 1991, 1993
@@ -76,7 +76,7 @@ struct excludes {
extern int aflag, bflag, dflag, iflag, lflag, Nflag, Pflag, pflag, rflag,
sflag, tflag, Tflag, wflag;
extern int format, context, status;
-extern char *start, *ifdefname, *diffargs, *label, *ignore_pats;
+extern char *start, *ifdefname, *diffargs, *label[2], *ignore_pats;
extern struct stat stb1, stb2;
extern struct excludes *excludes_list;
extern regex_t ignore_re;