]> git.ipfire.org Git - thirdparty/git.git/blobdiff - git-compat-util.h
Documentation: typofix --column description
[thirdparty/git.git] / git-compat-util.h
index adfea068970a2f62a66293c0b1de45bad05b5114..104993b97550c8df8f3834929e945dee43af2742 100644 (file)
@@ -273,7 +273,7 @@ struct itimerval {
 
 #ifdef NO_SETITIMER
 static inline int setitimer(int which, const struct itimerval *value, struct itimerval *newvalue) {
-       ; /* nothing */
+       return 0; /* pretend success */
 }
 #endif
 
@@ -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