Commit 136e7129d775f7c452a6b3215e4eff94eb808956

Johan 't Hart 2011-07-16T01:28:13

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