]> git.ipfire.org Git - thirdparty/util-linux.git/commit
lib/timer: use separate file for timers
authorKarel Zak <kzak@redhat.com>
Fri, 6 Mar 2015 12:17:20 +0000 (13:17 +0100)
committerKarel Zak <kzak@redhat.com>
Fri, 6 Mar 2015 12:17:20 +0000 (13:17 +0100)
commit26e8964b9db51e27cc6eaf5510ebc8eac8443f33
tree1adb27c7542eca3eadea4e3457f7bbab24f1b39f
parentf33383f7c2583ba484018b041331cf8b75ad5f04
lib/timer: use separate file for timers

It seems that static builds require -lpthread for timer_* functions.
It's better to keep it out of our libs (e.g. libmount) to avoid
unnecessary dependence.

Signed-off-by: Karel Zak <kzak@redhat.com>
include/Makemodule.am
include/monotonic.h
include/timer.h [new file with mode: 0644]
lib/monotonic.c
lib/timer.c [new file with mode: 0644]
sys-utils/Makemodule.am
sys-utils/flock.c