freebsd-nq/compat/gmtime_r.c
Dag-Erling Smørgrav a1ba2d1ca3 import ldns 1.6.13
2012-07-04 14:22:28 +00:00

15 lines
231 B
C

#ifdef HAVE_CONFIG_H
#include <ldns/config.h>
#endif
#ifdef HAVE_TIME_H
#include <time.h>
#endif
struct tm *gmtime_r(const time_t *timep, struct tm *result)
{
/* no thread safety. */
*result = *gmtime(timep);
return result;
}