vendor/libgit2/src/errors.c in rugged-1.0.1 vs vendor/libgit2/src/errors.c in rugged-1.1.0
- old
+ new
@@ -208,10 +208,11 @@
#endif
}
/* Deprecated error values and functions */
+#ifndef GIT_DEPRECATE_HARD
const git_error *giterr_last(void)
{
return git_error_last();
}
@@ -227,5 +228,6 @@
void giterr_set_oom(void)
{
git_error_set_oom();
}
+#endif