Merge pull request #355 from jdavid/fix-build

Fix "redefinition of typedef git_indexer" build error
This commit is contained in:
Vicent Martí 2011-08-09 17:08:18 -07:00
commit 2133c44f6a

View File

@ -45,7 +45,7 @@ struct entry {
uint64_t offset_long;
};
typedef struct git_indexer {
struct git_indexer {
struct git_pack_file *pack;
struct stat st;
struct git_pack_header hdr;
@ -54,7 +54,7 @@ typedef struct git_indexer {
git_filebuf file;
unsigned int fanout[256];
git_oid hash;
} git_indexer;
};
const git_oid *git_indexer_hash(git_indexer *idx)
{