aboutsummaryrefslogtreecommitdiff
path: root/gnu/usr.bin/diff
diff options
context:
space:
mode:
authorRodney W. Grimes <rgrimes@FreeBSD.org>1995-05-30 05:05:38 +0000
committerRodney W. Grimes <rgrimes@FreeBSD.org>1995-05-30 05:05:38 +0000
commit4399be3cbd35324f7a2c00d77229d995b4022138 (patch)
treea3959baf797787918878bec6d58d6a0fb743ad0a /gnu/usr.bin/diff
parent709e8f9ae1d734c1a163c9b421df4b8153939ce7 (diff)
downloadsrc-4399be3cbd35324f7a2c00d77229d995b4022138.tar.gz
src-4399be3cbd35324f7a2c00d77229d995b4022138.zip
Remove trailing whitespace.
Notes
Notes: svn path=/head/; revision=8858
Diffstat (limited to 'gnu/usr.bin/diff')
-rw-r--r--gnu/usr.bin/diff/analyze.c2
-rw-r--r--gnu/usr.bin/diff/diff3.c2
-rw-r--r--gnu/usr.bin/diff/ed.c6
-rw-r--r--gnu/usr.bin/diff/ifdef.c2
-rw-r--r--gnu/usr.bin/diff/io.c8
-rw-r--r--gnu/usr.bin/diff/side.c2
6 files changed, 11 insertions, 11 deletions
diff --git a/gnu/usr.bin/diff/analyze.c b/gnu/usr.bin/diff/analyze.c
index 556d388c46a4..03f5647e9f7a 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 1085c9b08a88..50cb88db7120 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 717ef358d0ee..24f727079d58 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 4e81ef8333b2..0dbfd438d38a 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 95702badf76b..81d0260749cd 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 9e03c2797e46..59943f2feda8 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')