diff options
author | Junio C Hamano <gitster@pobox.com> | 2020-12-01 01:49:44 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-12-01 01:49:44 +0300 |
commit | 43c1c79f1f745c22a47f7263530ba5251f957f41 (patch) | |
tree | 70f4bf4fc074f900da97b4ecdfc18a1713a950cb /git-compat-util.h | |
parent | 9f41d098887db417588fdee0b97b23b106cc4316 (diff) | |
parent | a76b138daa1696129c029309b3c0d49d72ff6b19 (diff) |
Merge branch 'hn/sleep-millisec-decl'
Move a definition of compatibility wrapper from cache.h to
git-compat-util.h
* hn/sleep-millisec-decl:
move sleep_millisec to git-compat-util.h
Diffstat (limited to 'git-compat-util.h')
-rw-r--r-- | git-compat-util.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/git-compat-util.h b/git-compat-util.h index adfea06897..7d509c5022 100644 --- a/git-compat-util.h +++ b/git-compat-util.h @@ -1354,4 +1354,6 @@ static inline void *container_of_or_null_offset(void *ptr, size_t offset) ((uintptr_t)&(ptr)->member - (uintptr_t)(ptr)) #endif /* !__GNUC__ */ +void sleep_millisec(int millisec); + #endif |