Commit b7158c53a45a0e926550484f26eae49ffc3a5043

Carlos Martín Nieto 2012-07-12T20:48:46

Use GIT_INLINE instead of inline

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/odb_loose.c b/src/odb_loose.c
index ea51c4d..2197a42 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)