Commit 2d3e417e5fdc000a7360b1f68ca04b6af7f602a6

J. David Ibáñez 2011-08-05T15:11:25

Fix "redefinition of typedef git_indexer" build error Signed-off-by: J. David Ibáñez <jdavid@itaapy.com>

diff --git a/src/indexer.c b/src/indexer.c
index 7a2b28a..97b7361 100644
--- a/src/indexer.c
+++ b/src/indexer.c
@@ -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)
 {