bug-diffutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug-diffutils] [PATCH] maint: remove inclusion of unused header, for "m


From: Jim Meyering
Subject: [bug-diffutils] [PATCH] maint: remove inclusion of unused header, for "make syntax-check"
Date: Sun, 03 Jul 2011 22:50:40 +0200

gnulib's latest maint.mk pointed out two unnecessarily #include'd files.
It *is* still used (only in cmp.c), so there's no need to remove
the module name from bootstrap.conf.

>From 01fc077bbfea22f0759400b45bf6a04b840ee2e4 Mon Sep 17 00:00:00 2001
From: Jim Meyering <address@hidden>
Date: Sun, 3 Jul 2011 22:44:26 +0200
Subject: [PATCH] maint: remove inclusion of unused header, for "make
 syntax-check"

* src/diff3.c: Don't include <inttostr.h>.  Not used.
* src/context.c: Likewise.
---
 src/context.c |    1 -
 src/diff3.c   |    1 -
 2 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/src/context.c b/src/context.c
index fc4fba3..690506b 100644
--- a/src/context.c
+++ b/src/context.c
@@ -20,7 +20,6 @@

 #include "diff.h"
 #include "c-ctype.h"
-#include <inttostr.h>
 #include <stat-time.h>
 #include <strftime.h>

diff --git a/src/diff3.c b/src/diff3.c
index 0eecb5e..343c055 100644
--- a/src/diff3.c
+++ b/src/diff3.c
@@ -28,7 +28,6 @@
 #include <exitfail.h>
 #include <file-type.h>
 #include <getopt.h>
-#include <inttostr.h>
 #include <progname.h>
 #include <sh-quote.h>
 #include <version-etc.h>
--
1.7.6.370.gfeac5



reply via email to

[Prev in Thread] Current Thread [Next in Thread]