summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarlos Martín Nieto <cmn@dwim.me>2014-06-10 03:53:26 +0200
committerCarlos Martín Nieto <cmn@dwim.me>2014-06-10 03:53:26 +0200
commit17fbf852a5c210cfa6a4e1e906dd9e35d2adc1c1 (patch)
treef3945dbbdc7946203289ef2bcac4dfab089032ae
parent281da0043ca6fe8c5ba6bc24c24c10d80db93956 (diff)
downloadlibgit2-17fbf852a5c210cfa6a4e1e906dd9e35d2adc1c1.tar.gz
pathspec: use C guards in header
-rw-r--r--include/git2/pathspec.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/git2/pathspec.h b/include/git2/pathspec.h
index 2fb0bb716..de6f027c5 100644
--- a/include/git2/pathspec.h
+++ b/include/git2/pathspec.h
@@ -12,6 +12,8 @@
#include "strarray.h"
#include "diff.h"
+GIT_BEGIN_DECL
+
/**
* Compiled pathspec
*/
@@ -257,4 +259,5 @@ GIT_EXTERN(size_t) git_pathspec_match_list_failed_entrycount(
GIT_EXTERN(const char *) git_pathspec_match_list_failed_entry(
const git_pathspec_match_list *m, size_t pos);
+GIT_END_DECL
#endif