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>
This commit is contained in:
Ramsay Jones 2009-01-12 19:38:37 +00:00 committed by Shawn O. Pearce
parent c23841c833
commit 66a4bfac99

View File

@ -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