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, 1 insertions, 1 deletions
diff --git a/src/errors.c b/src/errors.c
index 979602a2a..95c62176c 100644
--- a/src/errors.c
+++ b/src/errors.c
@@ -116,7 +116,7 @@ void giterr_clear(void)
#endif
}
-int giterr_detach(git_error *cpy)
+static int giterr_detach(git_error *cpy)
{
git_error *error = GIT_GLOBAL->last_error;