summaryrefslogtreecommitdiff
path: root/src/errors.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/errors.c')
-rw-r--r--src/errors.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/errors.c b/src/errors.c
index b34aa3abb..8570226b4 100644
--- a/src/errors.c
+++ b/src/errors.c
@@ -210,6 +210,7 @@ void git_error_system_set(int code)
/* Deprecated error values and functions */
+#ifndef GIT_DEPRECATE_HARD
const git_error *giterr_last(void)
{
return git_error_last();
@@ -229,3 +230,4 @@ void giterr_set_oom(void)
{
git_error_set_oom();
}
+#endif