Commit a6bbb8cab645af37aec62eef2e607c9a3185c827

Lambert CLARA 2011-08-13T10:56:33

Add missing GIT_BEGIN_DECL and GIT_END_DECL to indexer header

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
diff --git a/include/git2/indexer.h b/include/git2/indexer.h
index 6c31956..2852d7e 100644
--- a/include/git2/indexer.h
+++ b/include/git2/indexer.h
@@ -4,6 +4,8 @@
 #include "git2/common.h"
 #include "git2/oid.h"
 
+GIT_BEGIN_DECL
+
 /**
  * This is passed as the first argument to the callback to allow the
  * user to see the progress.
@@ -63,5 +65,6 @@ GIT_EXTERN(const git_oid *) git_indexer_hash(git_indexer *idx);
  */
 GIT_EXTERN(void) git_indexer_free(git_indexer *idx);
 
+GIT_END_DECL
 
 #endif