diff options
author | Vicent Marti <tanoku@gmail.com> | 2016-09-13 15:52:43 +0200 |
---|---|---|
committer | Vicent Marti <tanoku@gmail.com> | 2016-09-13 15:52:43 +0200 |
commit | 2749ff46d8db3fae270334cace82201d49e38c54 (patch) | |
tree | adec8b173c4895380252d329cde6bdda005cc44e /src | |
parent | bba704adf79e86ac8efd2b18cc57b478077a2a19 (diff) | |
download | libgit2-vmg/time.tar.gz |
time: Export `git_time_monotonic`vmg/time
Diffstat (limited to 'src')
-rw-r--r-- | src/util.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/util.c b/src/util.c index e9cccea20..76ca711b2 100644 --- a/src/util.c +++ b/src/util.c @@ -783,6 +783,11 @@ int git__utf8_iterate(const uint8_t *str, int str_len, int32_t *dst) return length; } +double git_time_monotonic(void) +{ + return git__timer(); +} + #ifdef GIT_WIN32 int git__getenv(git_buf *out, const char *name) { |