diff options
| author | Ramsay Jones <ramsay@ramsay1.demon.co.uk> | 2009-01-12 19:38:37 +0000 |
|---|---|---|
| committer | Shawn O. Pearce <spearce@spearce.org> | 2009-01-28 11:32:49 -0800 |
| commit | 66a4bfac99c07b79d75c015aed8f5972f0a4a336 (patch) | |
| tree | bfe05675d4e8f6b59d50932add8790f1a06b10ee | |
| parent | c23841c833ab35d82b32553d0659e815859e6c01 (diff) | |
| download | libgit2-66a4bfac99c07b79d75c015aed8f5972f0a4a336.tar.gz | |
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 <ramsay@ramsay1.demon.co.uk>
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
| -rw-r--r-- | src/delta-apply.c | 1 |
1 files changed, 1 insertions, 0 deletions
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 |
