mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-11 18:17:54 +00:00
Fix "redefinition of typedef git_indexer" build error
Signed-off-by: J. David Ibáñez <jdavid@itaapy.com>
This commit is contained in:
parent
a655cc3571
commit
2d3e417e5f
@ -45,7 +45,7 @@ struct entry {
|
|||||||
uint64_t offset_long;
|
uint64_t offset_long;
|
||||||
};
|
};
|
||||||
|
|
||||||
typedef struct git_indexer {
|
struct git_indexer {
|
||||||
struct git_pack_file *pack;
|
struct git_pack_file *pack;
|
||||||
struct stat st;
|
struct stat st;
|
||||||
struct git_pack_header hdr;
|
struct git_pack_header hdr;
|
||||||
@ -54,7 +54,7 @@ typedef struct git_indexer {
|
|||||||
git_filebuf file;
|
git_filebuf file;
|
||||||
unsigned int fanout[256];
|
unsigned int fanout[256];
|
||||||
git_oid hash;
|
git_oid hash;
|
||||||
} git_indexer;
|
};
|
||||||
|
|
||||||
const git_oid *git_indexer_hash(git_indexer *idx)
|
const git_oid *git_indexer_hash(git_indexer *idx)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user