Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/libgit2.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornulltoken <emeric.fermas@gmail.com>2012-07-02 19:51:02 +0400
committernulltoken <emeric.fermas@gmail.com>2012-07-02 21:56:41 +0400
commit494ae940a07831fd1ce318f6fd0f04738bfc2fe5 (patch)
treea57f265ed24daf756c647e7fa6add783647276e1 /src/util.h
parente560aa8ffa7cf143fbd34a5aec44741ae4c77271 (diff)
revparse: fix parsing of date specifiers
Diffstat (limited to 'src/util.h')
-rw-r--r--src/util.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/util.h b/src/util.h
index eed2bc80c..adc665027 100644
--- a/src/util.h
+++ b/src/util.h
@@ -209,13 +209,6 @@ GIT_INLINE(bool) git__isspace(int c)
return (c == ' ' || c == '\t' || c == '\n' || c == '\f' || c == '\r' || c == '\v');
}
-GIT_INLINE(int) git__time_cmp(const git_time *a, const git_time *b)
-{
- /* Adjust for time zones. Times are in seconds, offsets are in minutes. */
- git_time_t adjusted_a = a->time + ((b->offset - a->offset) * 60);
- return (int)(adjusted_a - b->time);
-}
-
GIT_INLINE(bool) git__iswildcard(int c)
{
return (c == '*' || c == '?' || c == '[');