aboutsummaryrefslogtreecommitdiffstats
path: root/difftimespec.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2018-08-12 21:35:12 +0200
committerMattias Andrée <maandree@kth.se>2018-08-12 21:35:12 +0200
commit93b8428b5812191177c790ea9ffb9158d5a296b4 (patch)
tree8e43220208a7e3b4780a49b8278e731f3b5fcbbf /difftimespec.c
parentAdd DONT_DEFINE_CLOCK_MONOTONIC_RAW (diff)
downloadlibsimple-93b8428b5812191177c790ea9ffb9158d5a296b4.tar.gz
libsimple-93b8428b5812191177c790ea9ffb9158d5a296b4.tar.bz2
libsimple-93b8428b5812191177c790ea9ffb9158d5a296b4.tar.xz
Add tests
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'difftimespec.c')
-rw-r--r--difftimespec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/difftimespec.c b/difftimespec.c
index 4ea74a8..383dced 100644
--- a/difftimespec.c
+++ b/difftimespec.c
@@ -3,7 +3,7 @@
int
-libsimple_difftimespec(struct timespec *diff, const struct timespec *minuend, const struct timespec *subtrahend)
+libsimple_difftimespec(struct timespec *diff, const struct timespec *minuend, const struct timespec *subtrahend) /* TODO test */
{
long int ns = minuend->tv_nsec - subtrahend->tv_nsec;
time_t s;