aboutsummaryrefslogtreecommitdiff
path: root/editors/diff.c
diff options
context:
space:
mode:
Diffstat (limited to 'editors/diff.c')
-rw-r--r--editors/diff.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/editors/diff.c b/editors/diff.c
index 47297ebb3..4886f6306 100644
--- a/editors/diff.c
+++ b/editors/diff.c
@@ -106,9 +106,6 @@ struct globals {
106 const char *label2; 106 const char *label2;
107 struct line *file[2]; 107 struct line *file[2];
108 int *J; /* will be overlaid on class */ 108 int *J; /* will be overlaid on class */
109 int *class; /* will be overlaid on file[0] */
110 int *klist; /* will be overlaid on file[0] after class */
111 int *member; /* will be overlaid on file[1] */
112 int clen; 109 int clen;
113 int len[2]; 110 int len[2];
114 int pref, suff; /* length of prefix and suffix */ 111 int pref, suff; /* length of prefix and suffix */
@@ -136,9 +133,6 @@ struct globals {
136#define label2 (G.label2 ) 133#define label2 (G.label2 )
137#define file (G.file ) 134#define file (G.file )
138#define J (G.J ) 135#define J (G.J )
139#define class (G.class )
140#define klist (G.klist )
141#define member (G.member )
142#define clen (G.clen ) 136#define clen (G.clen )
143#define len (G.len ) 137#define len (G.len )
144#define pref (G.pref ) 138#define pref (G.pref )
@@ -999,6 +993,9 @@ static void output(char *file1, FILE *f1, char *file2, FILE *f2)
999 * are not both DIRectories. */ 993 * are not both DIRectories. */
1000static unsigned diffreg(char *file1, char *file2, int flags) 994static unsigned diffreg(char *file1, char *file2, int flags)
1001{ 995{
996 int *member; /* will be overlaid on file[1] */
997 int *class; /* will be overlaid on file[0] */
998 int *klist; /* will be overlaid on file[0] after class */
1002 FILE *f1; 999 FILE *f1;
1003 FILE *f2; 1000 FILE *f2;
1004 unsigned rval; 1001 unsigned rval;