]> git.ipfire.org Git - thirdparty/git.git/blobdiff - git-compat-util.h
Merge branch 'jc/compat-util-setitimer-fix'
[thirdparty/git.git] / git-compat-util.h
index 7d509c50224dd5de52d18f8004e2636cd75423e4..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