diff options
author | Han-Wen Nienhuys <hanwen@google.com> | 2020-11-24 20:10:11 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-11-25 02:40:16 +0100 |
commit | a76b138daa1696129c029309b3c0d49d72ff6b19 (patch) | |
tree | 02b54598cc5f8a0f29042fdaf638acf52fd3b1f4 /git-compat-util.h | |
parent | Git 2.29.2 (diff) | |
download | git-a76b138daa1696129c029309b3c0d49d72ff6b19.tar.xz git-a76b138daa1696129c029309b3c0d49d72ff6b19.zip |
move sleep_millisec to git-compat-util.h
The sleep function is defined in wrapper.c, so it makes more sense to be a in
system compatibility header.
Signed-off-by: Han-Wen Nienhuys <hanwen@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
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 7a0fb7a045..d963b91b71 100644 --- a/git-compat-util.h +++ b/git-compat-util.h @@ -1352,4 +1352,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 |