chiark / gitweb /
udev: make set_usec_initialized() internal to libudev
authorTom Gundersen <teg@jklm.no>
Fri, 13 Mar 2015 17:43:00 +0000 (18:43 +0100)
committerTom Gundersen <teg@jklm.no>
Fri, 13 Mar 2015 17:47:07 +0000 (18:47 +0100)
commit1b14c3cfbe25f9bf1183bd26875f3c68847559c0
tree205ad65aa947bd405ebd10ad815d2985df93ccec
parent0964dcd77213a9e229efcc2f00084e1f63fc00ca
udev: make set_usec_initialized() internal to libudev

Instead introduce ensure_usec_initialized(), which copies the timestamp if possible otherwise
sets it to now(CLOCK_MONOTONIC).
src/libudev/libudev-device.c
src/libudev/libudev-private.h
src/udev/udev-event.c
src/udev/udevd.c