/* Copyright (C) 2015-2020, Dirk Krause SPDX-License-Identifier: BSD-3-Clause */ /* WARNING: This file was generated by the dkct program (see http://dktools.sourceforge.net/ for details). Changes you make here will be lost if dkct is run again! You should modify the original source and run dkct on it. Original source: dk4time.ctr */ /** @file dk4time.c The dk4time module. */ #line 93 "dk4time.ctr" #include "dk4conf.h" #if DK4_HAVE_ASSERT_H #ifndef ASSERT_H_INCLUDED #include #define ASSERT_H_INCLUDED 1 #endif #endif #include "dk4time.h" #if 0 static const char * const dk4time_kw[] = { /* 0 */ "0", /* 1 */ " ", /* 2 */ "-", /* 3 */ ":" }; #endif void dk4time_get(dk4_time_t *timer) { #if DK4_USE_ASSERT assert(NULL != timer); #endif #if DK4_ON_WINDOWS (void)_time64(timer); #else (void)time(timer); #endif }