mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-09 20:29:27 +00:00
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:
parent
c23841c833
commit
66a4bfac99
@ -1,5 +1,6 @@
|
|||||||
#include "common.h"
|
#include "common.h"
|
||||||
#include "git/odb.h"
|
#include "git/odb.h"
|
||||||
|
#include "delta-apply.h"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* This file was heavily cribbed from BinaryDelta.java in JGit, which
|
* This file was heavily cribbed from BinaryDelta.java in JGit, which
|
||||||
|
Loading…
Reference in New Issue
Block a user