diff options
author | Mattias Andrée <maandree@kth.se> | 2018-08-12 21:35:12 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2018-08-12 21:35:12 +0200 |
commit | 93b8428b5812191177c790ea9ffb9158d5a296b4 (patch) | |
tree | 8e43220208a7e3b4780a49b8278e731f3b5fcbbf /timespec2timeval.c | |
parent | Add DONT_DEFINE_CLOCK_MONOTONIC_RAW (diff) | |
download | libsimple-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 'timespec2timeval.c')
-rw-r--r-- | timespec2timeval.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/timespec2timeval.c b/timespec2timeval.c index c4069ff..282f794 100644 --- a/timespec2timeval.c +++ b/timespec2timeval.c @@ -3,7 +3,7 @@ int -libsimple_timespec2timeval(struct timeval *restrict tv, const struct timespec *restrict ts) +libsimple_timespec2timeval(struct timeval *restrict tv, const struct timespec *restrict ts) /* TODO test */ { tv->tv_sec = ts->tv_sec; tv->tv_usec = ts->tv_nsec / 1000L; |