diff options
Diffstat (limited to 'include/git2/errors.h')
-rw-r--r-- | include/git2/errors.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/git2/errors.h b/include/git2/errors.h index 09b1f26bb..253cb6ae2 100644 --- a/include/git2/errors.h +++ b/include/git2/errors.h @@ -146,6 +146,11 @@ GIT_EXTERN(const char *) git_lasterror(void); */ GIT_EXTERN(const char *) git_strerror(int num); +/** + * Clear the latest library error + */ +GIT_EXTERN(void) git_clearerror(void); + /** @} */ GIT_END_DECL #endif |