mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-07 09:00:28 +00:00
15 lines
237 B
C
15 lines
237 B
C
|
#ifdef HAVE_CONFIG_H
|
||
|
#include <ldns/config.h>
|
||
|
#endif
|
||
|
|
||
|
#ifdef HAVE_TIME_H
|
||
|
#include <time.h>
|
||
|
#endif
|
||
|
|
||
|
struct tm *localtime_r(const time_t *timep, struct tm *result)
|
||
|
{
|
||
|
/* no thread safety. */
|
||
|
*result = *localtime(timep);
|
||
|
return result;
|
||
|
}
|