summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/diff/normal.c
diff options
context:
space:
mode:
authorjtc <jtc@NetBSD.org>1993-07-08 20:13:23 +0000
committerjtc <jtc@NetBSD.org>1993-07-08 20:13:23 +0000
commitd996bc247f59fdf10cf4b6618131b5062e478999 (patch)
tree4a74e275e3f737762cfe0e24e497cdb45ea14347 /gnu/usr.bin/diff/normal.c
parenta18c6474da95632c233f93fa4ecd3de9a5949ad2 (diff)
Update to GNU diff 2.3
Diffstat (limited to 'gnu/usr.bin/diff/normal.c')
-rw-r--r--gnu/usr.bin/diff/normal.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/gnu/usr.bin/diff/normal.c b/gnu/usr.bin/diff/normal.c
index 63185003066..a0cf4793f6b 100644
--- a/gnu/usr.bin/diff/normal.c
+++ b/gnu/usr.bin/diff/normal.c
@@ -5,7 +5,7 @@ This file is part of GNU DIFF.
GNU DIFF is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
-the Free Software Foundation; either version 1, or (at your option)
+the Free Software Foundation; either version 2, or (at your option)
any later version.
GNU DIFF is distributed in the hope that it will be useful,
@@ -20,6 +20,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#include "diff.h"
+int change_letter ();
void print_normal_hunk ();
void print_number_range ();
struct change *find_change ();
@@ -50,6 +51,8 @@ print_normal_hunk (hunk)
if (!deletes && !inserts)
return;
+ begin_output ();
+
/* Print out the line number header for this hunk */
print_number_range (',', &files[0], first0, last0);
fprintf (outfile, "%c", change_letter (inserts, deletes));