From 136e7129d775f7c452a6b3215e4eff94eb808956 Mon Sep 17 00:00:00 2001 From: Johan 't Hart Date: Sat, 16 Jul 2011 01:28:13 +0200 Subject: [PATCH] On some header files, GIT_END_DECL was absent while GIT_BEGIN_DECL wasn't. --- include/git2/net.h | 2 ++ include/git2/refspec.h | 3 +++ 2 files changed, 5 insertions(+) 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