Use GIT_INLINE instead of inline

This commit is contained in:
Carlos Martín Nieto 2012-07-12 20:48:46 +02:00
parent eca67c585e
commit b7158c53a4

View File

@ -682,7 +682,7 @@ struct foreach_state {
void *data; 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; int v, i = 0;
if (strlen(ptr) != 41) if (strlen(ptr) != 41)