/* @(#)diff.h 4.1 10/9/80" */
* diff - common declarations
#define D_NORMAL 0 /* Normal output */
#define D_EDIT -1 /* Editor script out */
#define D_REVERSE 1 /* Reverse editor script */
#define D_CONTEXT 2 /* Diff with context */
#define D_IFDEF 3 /* Diff with merged #ifdef's */
* Algorithm related options
int hflag
; /* -h, use halfhearted DIFFH */
int bflag
; /* ignore blanks in comparisions */
* Options on hierarchical diffs.
int lflag
; /* long output format with header */
int rflag
; /* recursively trace directories */
int sflag
; /* announce files which are same */
char *start
; /* do file only if name >= this */
* Variables for -I D_IFDEF option.
char *ifdef1
; /* String for -1 */
char *ifdef2
; /* String for -2 */
char *endifname
; /* What we will print on next #endif */
* Variables for -c context option.
int context
; /* lines of context to be printed */
char *tempfile
; /* used when comparing against std input */
char **diffargv
; /* option list to pass to recursive diffs */
* With diffdir, file1 and file2 are allocated BUFSIZ space,
* and padded with a '/', and then efile0 and efile1 point after
char *file1
, *file2
, *efile1
, *efile2
;
* This is allocated early, and used
* to reset the free storage pointer to effect space compaction.
char *malloc(), *talloc(), *ralloc();
char *savestr(), *splice(), *splicen();
char *mktemp(), *copytemp(), *rindex();
extern char diffh
[], diff
[], pr
[];