Encapsulate clock_gettime.
authorWerner Koch <wk@gnupg.org>
Fri, 27 Jan 2012 14:16:25 +0000 (15:16 +0100)
committerWerner Koch <wk@gnupg.org>
Fri, 27 Jan 2012 14:16:25 +0000 (15:16 +0100)
commit951bd3e3487f07df82855ec4068af4f0226a7a67
treea8db5b249dfcb81a023d43c8ee2944933a3afa8a
parentedbf7f1c802f82262ac595fc77bffefab2118573
Encapsulate clock_gettime.

* src/Makefile.am (libnpth_la_LDFLAGS): Remove -pthread and -lrt.
* src/npth.h (npth_clock_gettime): Turn macro into a function.
* src/npth.c (npth_clock_gettime): New.
* src/libnpth.vers: Add npth_clock_gettime.
src/Makefile.am
src/libnpth.vers
src/npth.c
src/npth.h