summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/odb_loose.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/odb_loose.c b/src/odb_loose.c
index ea51c4d14..2197a4264 100644
--- a/src/odb_loose.c
+++ b/src/odb_loose.c
@@ -682,7 +682,7 @@ struct foreach_state {
void *data;
};
-static inline int filename_to_oid(git_oid *oid, const char *ptr)
+GIT_INLINE(int) filename_to_oid(git_oid *oid, const char *ptr)
{
int v, i = 0;
if (strlen(ptr) != 41)