summaryrefslogtreecommitdiff
path: root/src/libstddjb/localtm_from_sysclock.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstddjb/localtm_from_sysclock.c')
-rw-r--r--src/libstddjb/localtm_from_sysclock.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/libstddjb/localtm_from_sysclock.c b/src/libstddjb/localtm_from_sysclock.c
index 939bb21..d63a6d8 100644
--- a/src/libstddjb/localtm_from_sysclock.c
+++ b/src/libstddjb/localtm_from_sysclock.c
@@ -1,11 +1,10 @@
/* ISC license. */
-#include <sys/types.h>
#include <time.h>
#include <skalibs/uint64.h>
#include <skalibs/djbtime.h>
-int localtm_from_sysclock (struct tm *l, uint64 u, int tz)
+int localtm_from_sysclock (struct tm *l, uint64_t u, int tz)
{
if (!ltm64_from_sysclock(&u)) return 0 ;
return localtm_from_ltm64(l, u, tz) ;