summaryrefslogtreecommitdiff
path: root/src/fileops.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fileops.c')
-rw-r--r--src/fileops.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fileops.c b/src/fileops.c
index e6e4e0455..1e4ac7e37 100644
--- a/src/fileops.c
+++ b/src/fileops.c
@@ -113,7 +113,7 @@ gitfo_cache *gitfo_enable_caching(git_file fd, size_t cache_size)
return ioc;
}
-static inline void gitfo_add_to_cache(gitfo_cache *ioc, void *buf, size_t len)
+GIT_INLINE(void) gitfo_add_to_cache(gitfo_cache *ioc, void *buf, size_t len)
{
memcpy(ioc->cache + ioc->pos, buf, len);
ioc->pos += len;