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>
This commit is contained in:

committed by
Junio C Hamano

parent
898f80736c
commit
a76b138daa
@ -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
|
||||
|
Reference in New Issue
Block a user