summaryrefslogtreecommitdiff
path: root/src/libstddjb/tain_from_timespec.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstddjb/tain_from_timespec.c')
-rw-r--r--src/libstddjb/tain_from_timespec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstddjb/tain_from_timespec.c b/src/libstddjb/tain_from_timespec.c
index e471b95..174f055 100644
--- a/src/libstddjb/tain_from_timespec.c
+++ b/src/libstddjb/tain_from_timespec.c
@@ -3,7 +3,7 @@
#include <time.h>
#include <skalibs/tai.h>
-int tain_from_timespec (tain_t *t, struct timespec const *ts)
+int tain_from_timespec (tain *t, struct timespec const *ts)
{
if (!tai_from_time(&t->sec, ts->tv_sec)) return 0 ;
t->nano = ts->tv_nsec ;