Commit 816d28e7bc9473482664d374786dac484c0e1156

Ben Straub 2013-10-01T12:56:47

Mark git__timer as inline on OSX

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/util.h b/src/util.h
index 78e2f2e..f9de909 100644
--- a/src/util.h
+++ b/src/util.h
@@ -379,7 +379,7 @@ GIT_INLINE(double) git__timer(void)
 
 #include <mach/mach_time.h>
 
-double git__timer(void)
+GIT_INLINE(double) git__timer(void)
 {
    uint64_t time = mach_absolute_time();
    static double scaling_factor = 0;