summaryrefslogtreecommitdiff
path: root/include/git2/common.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/git2/common.h')
-rw-r--r--include/git2/common.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/git2/common.h b/include/git2/common.h
index 2aae648fb..54af72fbf 100644
--- a/include/git2/common.h
+++ b/include/git2/common.h
@@ -185,6 +185,8 @@ typedef struct {
GIT_EXTERN(void) git_strarray_free(git_strarray *array);
+GIT_EXTERN(const char*) git_lasterror(void);
+
/** @} */
GIT_END_DECL
#endif