From 66a4bfac99c07b79d75c015aed8f5972f0a4a336 Mon Sep 17 00:00:00 2001 From: Ramsay Jones Date: Mon, 12 Jan 2009 19:38:37 +0000 Subject: [PATCH] Fix a sparse "symbol not declared" warning In particular, the git__delta_apply() function has not been declared prior to it's definition. In order to suppress the warning, include the delta-apply.h header which provides the public interface. This ensures that the declaration and definition are consistent. Signed-off-by: Ramsay Jones Signed-off-by: Shawn O. Pearce --- src/delta-apply.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/delta-apply.c b/src/delta-apply.c index f92446126..4852017de 100644 --- a/src/delta-apply.c +++ b/src/delta-apply.c @@ -1,5 +1,6 @@ #include "common.h" #include "git/odb.h" +#include "delta-apply.h" /* * This file was heavily cribbed from BinaryDelta.java in JGit, which