diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2018-02-26 18:03:44 +0100 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2018-02-27 15:44:29 +0000 |
commit | 726ba36201226fe1b0e768b27cb67bce45443df5 (patch) | |
tree | fae3ea20080850a97ecd9a39e8ca6887a9a7458c /include/osmocom/gsm/gan.h | |
parent | cc81722736c9bd2a0a16cf2247eda6b82074a198 (diff) |
core: Add timespec helper macros and make timer_compat.h public
If a monotonic clock must be used, then the clock_gettime API is used
which uses timespec structures. Linux systems by default don't provide
helpers to calculate time using timespecs, so let's add them here.
Let's also make this header public so these helpers can be used in other
projects using libosmocore (expected user: libosmo-netif).
Change-Id: I45fc993b9bb0a343763238bf463c8640f47b00f1
Diffstat (limited to 'include/osmocom/gsm/gan.h')
0 files changed, 0 insertions, 0 deletions