diff options
Diffstat (limited to 'src/libstddjb/sysclock_set.c')
-rw-r--r-- | src/libstddjb/sysclock_set.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/libstddjb/sysclock_set.c b/src/libstddjb/sysclock_set.c index 76917af..de638db 100644 --- a/src/libstddjb/sysclock_set.c +++ b/src/libstddjb/sysclock_set.c @@ -9,10 +9,10 @@ #include <time.h> #include <skalibs/tai.h> -int sysclock_set (tain_t const *a) +int sysclock_set (tain const *a) { struct timespec now ; - tain_t aa ; + tain aa ; tain_add(&aa, a, &tain_nano500) ; if (!timespec_from_tain(&now, &aa)) return 0 ; if (clock_settime(CLOCK_REALTIME, &now) < 0) return 0 ; @@ -26,10 +26,10 @@ int sysclock_set (tain_t const *a) #include <sys/time.h> #include <skalibs/tai.h> -int sysclock_set (tain_t const *a) +int sysclock_set (tain const *a) { struct timeval now ; - tain_t aa ; + tain aa ; tain_add(&aa, a, &tain_nano500) ; if (!timeval_from_tain(&now, &aa)) return 0 ; if (settimeofday(&now, 0) < 0) return 0 ; |