Thread (24 messages) 24 messages, 6 authors, 2016-06-15

[PATCH 3/8] diff-delta.c: "diff.h" is not a required include

flat view
STALE3777d

From: Brandon Casey <hidden>
Date: 2016-06-15 22:46:54
Subsystem: the rest · Maintainer: Linus Torvalds

Revision v1 of 2 in this series.

Revisions (2)
  1. v1 current
  2. v1
From: Brandon Casey <redacted>

This file (diff.h) provides declarations for some functions that are
implemented in diff-delta.c.  The SUNWspro C99 compiler complains about
it.  There is nothing defined in "diff.h" that is required by diff-delta.c,
so don't #include it.

Signed-off-by: Brandon Casey <redacted>
---
 diff-delta.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/diff-delta.c b/diff-delta.c
index a4e28df..a9969f0 100644
--- a/diff-delta.c
+++ b/diff-delta.c
@@ -12,7 +12,6 @@
  */
 
 #include "git-compat-util.h"
-#include "delta.h"
 
 /* maximum hash entry list for the same hash bucket */
 #define HASH_LIMIT 64
-- 
1.6.3.1.24.g152f4
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help