diff options
author | rgrimes <rgrimes@FreeBSD.org> | 1995-05-30 05:05:38 +0000 |
---|---|---|
committer | rgrimes <rgrimes@FreeBSD.org> | 1995-05-30 05:05:38 +0000 |
commit | 2ad6f3dee6bc54535003f4ab26bbc587b7efa38c (patch) | |
tree | a3959baf797787918878bec6d58d6a0fb743ad0a /gnu/usr.bin/diff | |
parent | 4f960dd75f181e9fa2edc44324f15f0ab5c64b37 (diff) | |
download | FreeBSD-src-2ad6f3dee6bc54535003f4ab26bbc587b7efa38c.zip FreeBSD-src-2ad6f3dee6bc54535003f4ab26bbc587b7efa38c.tar.gz |
Remove trailing whitespace.
Diffstat (limited to 'gnu/usr.bin/diff')
-rw-r--r-- | gnu/usr.bin/diff/analyze.c | 2 | ||||
-rw-r--r-- | gnu/usr.bin/diff/diff3.c | 2 | ||||
-rw-r--r-- | gnu/usr.bin/diff/ed.c | 6 | ||||
-rw-r--r-- | gnu/usr.bin/diff/ifdef.c | 2 | ||||
-rw-r--r-- | gnu/usr.bin/diff/io.c | 8 | ||||
-rw-r--r-- | gnu/usr.bin/diff/side.c | 2 |
6 files changed, 11 insertions, 11 deletions
diff --git a/gnu/usr.bin/diff/analyze.c b/gnu/usr.bin/diff/analyze.c index 556d388..03f5647 100644 --- a/gnu/usr.bin/diff/analyze.c +++ b/gnu/usr.bin/diff/analyze.c @@ -332,7 +332,7 @@ diag (xoff, xlim, yoff, ylim, minimal, part) Note that XLIM, YLIM are exclusive bounds. All line numbers are origin-0 and discarded lines are not counted. - + If MINIMAL is nonzero, find a minimal difference no matter how expensive it is. */ diff --git a/gnu/usr.bin/diff/diff3.c b/gnu/usr.bin/diff/diff3.c index 1085c9b..50cb88d 100644 --- a/gnu/usr.bin/diff/diff3.c +++ b/gnu/usr.bin/diff/diff3.c @@ -163,7 +163,7 @@ static int simple_only; /* If nonzero, do not output information for non-overlapping diffs. */ static int overlap_only; -/* If nonzero, show information for 3_way and DIFF_2ND diffs. +/* If nonzero, show information for 3_way and DIFF_2ND diffs. 1= show 2nd only when 1st and 3rd differ 2= show 2nd when DIFF_2ND (1 and 3 have same change relative to 2) */ static int show_2nd; diff --git a/gnu/usr.bin/diff/ed.c b/gnu/usr.bin/diff/ed.c index 717ef35..24f7270 100644 --- a/gnu/usr.bin/diff/ed.c +++ b/gnu/usr.bin/diff/ed.c @@ -36,7 +36,7 @@ print_ed_script (script) static void print_ed_hunk (hunk) - struct change *hunk; + struct change *hunk; { int f0, l0, f1, l1; int deletes, inserts; @@ -180,7 +180,7 @@ print_rcs_hunk (hunk) and the number of lines deleted. */ fprintf (outfile, "%d %d\n", tf0, - (tl0 >= tf0 ? tl0 - tf0 + 1 : 1)); + (tl0 >= tf0 ? tl0 - tf0 + 1 : 1)); } if (inserts) @@ -191,7 +191,7 @@ print_rcs_hunk (hunk) translate_range (&files[1], f1, l1, &tf1, &tl1); fprintf (outfile, "%d %d\n", tl0, - (tl1 >= tf1 ? tl1 - tf1 + 1 : 1)); + (tl1 >= tf1 ? tl1 - tf1 + 1 : 1)); /* Print the inserted lines. */ for (i = f1; i <= l1; i++) diff --git a/gnu/usr.bin/diff/ifdef.c b/gnu/usr.bin/diff/ifdef.c index 4e81ef8..0dbfd43 100644 --- a/gnu/usr.bin/diff/ifdef.c +++ b/gnu/usr.bin/diff/ifdef.c @@ -336,7 +336,7 @@ print_ifdef_lines (out, format, group) case 'n': value = translate_line_number (file, from); break; - + default: goto bad_format; } diff --git a/gnu/usr.bin/diff/io.c b/gnu/usr.bin/diff/io.c index 95702ba..81d0260 100644 --- a/gnu/usr.bin/diff/io.c +++ b/gnu/usr.bin/diff/io.c @@ -47,7 +47,7 @@ struct equivclass /* Hash-table: array of buckets, each being a chain of equivalence classes. */ static int *buckets; - + /* Number of buckets in the hash table array. */ static int nbuckets; @@ -105,7 +105,7 @@ sip (current, skip_test) return binary_file_p (current->buffer, current->buffered_chars); } } - + current->buffered_chars = 0; return 0; } @@ -315,7 +315,7 @@ find_and_hash_each_line (current) - linbuf_base; } linbuf[line] = (char const *) p; - + if ((char const *) p == bufend) { linbuf[line] -= (char const *) p == incomplete_tail; @@ -360,7 +360,7 @@ prepare_text_end (current) current->buffered_chars = buffered_chars; current->missing_newline = ! ignore_blank_lines_flag; } - + /* Don't use uninitialized storage when planting or using sentinels. */ if (p) bzero (p + buffered_chars, sizeof (word)); diff --git a/gnu/usr.bin/diff/side.c b/gnu/usr.bin/diff/side.c index 9e03c27..59943f2 100644 --- a/gnu/usr.bin/diff/side.c +++ b/gnu/usr.bin/diff/side.c @@ -174,7 +174,7 @@ print_1sdiff_line (left, sep, right) unsigned hw = sdiff_half_width, c2o = sdiff_column2_offset; unsigned col = 0; int put_newline = 0; - + if (left) { if (left[1][-1] == '\n') |