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_get.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/libstddjb/sysclock_get.c') diff --git a/src/libstddjb/sysclock_get.c b/src/libstddjb/sysclock_get.c index 6c5041d..1325903 100644 --- a/src/libstddjb/sysclock_get.c +++ b/src/libstddjb/sysclock_get.c @@ -7,9 +7,9 @@ #include -int sysclock_get (tain_t *a) +int sysclock_get (tain *a) { - tain_t aa ; + tain aa ; struct timespec now ; if (clock_gettime(CLOCK_REALTIME, &now) < 0) return 0 ; if (!tain_from_timespec(&aa, &now)) return 0 ; @@ -21,9 +21,9 @@ int sysclock_get (tain_t *a) #include -int sysclock_get (tain_t *a) +int sysclock_get (tain *a) { - tain_t aa ; + tain aa ; struct timeval now ; if (gettimeofday(&now, 0) < 0) return 0 ; if (!tain_from_timeval(&aa, &now)) return 0 ; -- cgit v1.2.3