Merge branch 'jc/compat-util-setitimer-fix'
Fix a recent bug in a rarely used replacement code. * jc/compat-util-setitimer-fix: compat-util: pretend that stub setitimer() always succeeds
This commit is contained in:
commit
ecfc02df85
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user