]> git.ipfire.org Git - thirdparty/chrony.git/commit
sched: always return non-zero timeout ID
authorMiroslav Lichvar <mlichvar@redhat.com>
Thu, 5 Nov 2015 13:29:11 +0000 (14:29 +0100)
committerMiroslav Lichvar <mlichvar@redhat.com>
Tue, 10 Nov 2015 13:52:52 +0000 (14:52 +0100)
commit0076458e9d03365d667db6ef6c797cccc8d443a9
tree110a82a85300da70101362858c65d78be712c694
parentbdb1650ed81570e36238e9f09892525acf0a1373
sched: always return non-zero timeout ID

Timeout ID of zero can be now safely used to indicate that the timer is
not running. Remove the extra timer_running variables that were
necessary to track that.
ntp_core.c
reference.c
rtc_linux.c
sched.c
sched.h
sys_generic.c
sys_macosx.c