Commit bae88c0dc6b940cd661364499019ad00f7ba1fd3

Vicent Martí 2011-08-13T09:58:11

Merge pull request #366 from belkiss/development 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