time-util: add new call usec_shift_clock() for converting times between clocks
authorLennart Poettering <lennart@poettering.net>
Thu, 22 Jun 2017 18:52:23 +0000 (20:52 +0200)
committerLennart Poettering <lennart@poettering.net>
Thu, 22 Jun 2017 18:52:23 +0000 (20:52 +0200)
commit1007ec60e664da03b7aea4803c643d991fcf6530
treea807eba2bb2cf89a0228236844c1729deb3724bd
parent54d8ef14d8ca92caa80c01bb6ebf09b5edb3df9d
time-util: add new call usec_shift_clock() for converting times between clocks

We use that quite often, let's implement one clean version of it.
src/basic/time-util.c
src/basic/time-util.h
src/test/test-time.c