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:
@ -273,7 +273,7 @@ struct itimerval {
|
|||||||
|
|
||||||
#ifdef NO_SETITIMER
|
#ifdef NO_SETITIMER
|
||||||
static inline int setitimer(int which, const struct itimerval *value, struct itimerval *newvalue) {
|
static inline int setitimer(int which, const struct itimerval *value, struct itimerval *newvalue) {
|
||||||
; /* nothing */
|
return 0; /* pretend success */
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user