diff --git a/include/git2/net.h b/include/git2/net.h index 01b307dae..18dd2df09 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 b5361edbb..dd0dc5873 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