summaryrefslogtreecommitdiff
path: root/merge-file.c
diff options
context:
space:
mode:
authorLibravatar Ramsay Jones <ramsay@ramsay1.demon.co.uk>2011-04-07 19:31:24 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2011-04-11 10:35:25 -0700
commit1e0f8c41ac157c54a33f2ee0afb7d96f5156ed0d (patch)
tree980fa8b4c2a8f0adf0401f7d172697450da83e9b /merge-file.c
parentsparse: Fix an "symbol 'format_subject' not declared" warning (diff)
downloadtgif-1e0f8c41ac157c54a33f2ee0afb7d96f5156ed0d.tar.xz
sparse: Fix an "symbol 'merge_file' not decared" warning
In order to fix the warning, we add a new "merge-file.h" header containing the extern declaration of the merge_file() function, and include the header in the source files that require the declaration. Signed-off-by: Ramsay Jones <ramsay@ramsay1.demon.co.uk> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'merge-file.c')
-rw-r--r--merge-file.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/merge-file.c b/merge-file.c
index f7f4533926..7845528e88 100644
--- a/merge-file.c
+++ b/merge-file.c
@@ -3,6 +3,7 @@
#include "xdiff-interface.h"
#include "ll-merge.h"
#include "blob.h"
+#include "merge-file.h"
static int fill_mmfile_blob(mmfile_t *f, struct blob *obj)
{