Commit 4930e7218776bb6fda4b7f6e02d0b3bdfdd8bae4

Vicent Martí 2011-07-26T15:25:46

Merge pull request #340 from Jopie64/development On some header files, GIT_END_DECL was absent while GIT_BEGIN_DECL wasn't

diff --git a/include/git2/net.h b/include/git2/net.h
index 01b307d..18dd2df 100644
--- a/include/git2/net.h
+++ b/include/git2/net.h
@@ -64,4 +64,6 @@ struct git_headarray {
 	struct git_remote_head **heads;
 };
 
+GIT_END_DECL
+
 #endif
diff --git a/include/git2/refspec.h b/include/git2/refspec.h
index b5361ed..dd0dc58 100644
--- a/include/git2/refspec.h
+++ b/include/git2/refspec.h
@@ -72,4 +72,7 @@ int git_refspec_src_match(const git_refspec *refspec, const char *refname);
  * @preturn GIT_SUCCESS, GIT_ESHORTBUFFER or another error
  */
 int git_refspec_transform(char *out, size_t outlen, const git_refspec *spec, const char *name);
+
+GIT_END_DECL
+
 #endif