summaryrefslogtreecommitdiff
path: root/include/git2
diff options
context:
space:
mode:
Diffstat (limited to 'include/git2')
-rw-r--r--include/git2/common.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/include/git2/common.h b/include/git2/common.h
index 11a08f897..f9045210c 100644
--- a/include/git2/common.h
+++ b/include/git2/common.h
@@ -165,14 +165,7 @@ typedef struct {
size_t count;
} git_strarray;
-GIT_INLINE(void) git_strarray_free(git_strarray *array)
-{
- size_t i;
- for (i = 0; i < array->count; ++i)
- free(array->strings[i]);
-
- free(array->strings);
-}
+GIT_EXTERN(void) git_strarray_free(git_strarray *array);
/** @} */
GIT_END_DECL