From 9592bfd0dda7c575de07bce2c7a81b8432d845a4 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Wed, 28 Jul 2021 23:45:20 +0000 Subject: Huge incompatible changes. - Obsolete skalibs/environ.h and skalibs/getpeereid.h removed. - rc4 and md5 removed. - All *_t types renamed to avoid treading on POSIX namespace. - subgetopt() renamed to lgetopt(). - signal functions reworked; skasigaction removed; sig_stack removed - Various functions removed: skaoffsetof(), selfpipe_untrap() - New posixplz function: munmap_void. Signed-off-by: Laurent Bercot --- src/libstddjb/sysclock_set.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/libstddjb/sysclock_set.c') 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 #include -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 #include -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 ; -- cgit v1.3.1