=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/cvs/diff.h,v retrieving revision 1.20 retrieving revision 1.21 diff -u -r1.20 -r1.21 --- src/usr.bin/cvs/diff.h 2009/06/07 08:39:13 1.20 +++ src/usr.bin/cvs/diff.h 2010/07/23 21:46:05 1.21 @@ -1,4 +1,4 @@ -/* $OpenBSD: diff.h,v 1.20 2009/06/07 08:39:13 ray Exp $ */ +/* $OpenBSD: diff.h,v 1.21 2010/07/23 21:46:05 ray Exp $ */ /* * Copyright (C) Caldera International Inc. 2001-2002. * All rights reserved. @@ -63,8 +63,8 @@ * * @(#)diffreg.c 8.1 (Berkeley) 6/6/93 */ -#ifndef CVS_DIFF_H -#define CVS_DIFF_H +#ifndef DIFF_H +#define DIFF_H #define CVS_DIFF_DEFCTX 3 /* default context length */ /* @@ -80,13 +80,13 @@ /* * Command line flags */ -#define D_FORCEASCII 0x01 /* Treat file as ascii regardless of content */ -#define D_FOLDBLANKS 0x02 /* Treat all white space as equal */ -#define D_MINIMAL 0x04 /* Make diff as small as possible */ -#define D_IGNORECASE 0x08 /* Case-insensitive matching */ -#define D_PROTOTYPE 0x10 /* Display C function prototype */ -#define D_EXPANDTABS 0x20 /* Expand tabs to spaces */ -#define D_IGNOREBLANKS 0x40 /* Ignore white space changes */ +#define D_FORCEASCII 0x01 /* Treat file as ascii regardless of content */ +#define D_FOLDBLANKS 0x02 /* Treat all white space as equal */ +#define D_MINIMAL 0x04 /* Make diff as small as possible */ +#define D_IGNORECASE 0x08 /* Case-insensitive matching */ +#define D_PROTOTYPE 0x10 /* Display C function prototype */ +#define D_EXPANDTABS 0x20 /* Expand tabs to spaces */ +#define D_IGNOREBLANKS 0x40 /* Ignore white space changes */ /* * Status values for diffreg() return values @@ -105,7 +105,7 @@ void cvs_merge_file(struct cvs_file *, int); void diff_output(const char *, ...); int diffreg(const char *, const char *, int, int, BUF *, int); -int ed_patch_lines(struct cvs_lines *, struct cvs_lines *); +int ed_patch_lines(struct rcs_lines *, struct rcs_lines *); extern int diff_format; extern int diff3_conflicts; @@ -116,11 +116,11 @@ extern int diff_pflag; extern int diff_wflag; extern char *diff_file; -extern char diffargs[128]; +extern char diffargs[512]; /* XXX */ extern BUF *diffbuf; extern RCSNUM *diff_rev1; extern RCSNUM *diff_rev2; extern RCSNUM *d3rev1; extern RCSNUM *d3rev2; -#endif +#endif /* DIFF_H */