aboutsummaryrefslogtreecommitdiff
diff refs
from: back
to: back
| flip
diff options
context:
space:
mode:
-rw-r--r--cgit.h3
-rw-r--r--shared.c4
2 files changed, 2 insertions, 5 deletions
diff --git a/cgit.h b/cgit.h
index b2253d2..db9a8eb 100644
--- a/cgit.h
+++ b/cgit.h
@@ -340,9 +340,6 @@ extern int cgit_refs_cb(const char *refname, const struct object_id *oid,
extern void *cgit_free_commitinfo(struct commitinfo *info);
-void cgit_diff_tree_cb(struct diff_queue_struct *q,
- struct diff_options *options, void *data);
-
extern int cgit_diff_files(const unsigned char *old_sha1,
const unsigned char *new_sha1,
unsigned long *old_size, unsigned long *new_size,
diff --git a/shared.c b/shared.c
index 0431b59..a83afcb 100644
--- a/shared.c
+++ b/shared.c
@@ -250,8 +250,8 @@ int cgit_refs_cb(const char *refname, const struct object_id *oid, int flags,
return 0;
}
-void cgit_diff_tree_cb(struct diff_queue_struct *q,
- struct diff_options *options, void *data)
+static void cgit_diff_tree_cb(struct diff_queue_struct *q,
+ struct diff_options *options, void *data)
{
int i;