summaryrefslogtreecommitdiff
path: root/src/strarray.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/strarray.c')
-rw-r--r--src/strarray.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/strarray.c b/src/strarray.c
index 7ad413404..54fe9fbfb 100644
--- a/src/strarray.c
+++ b/src/strarray.c
@@ -55,7 +55,9 @@ void git_strarray_dispose(git_strarray *array)
memset(array, 0, sizeof(*array));
}
+#ifndef GIT_DEPRECATE_HARD
void git_strarray_free(git_strarray *array)
{
git_strarray_dispose(array);
}
+#endif