projects
/
dragonfly.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
Revert "drill(1): Use strdup() for known strings."
[dragonfly.git]
/
contrib
/
ldns
/
compat
/
gmtime_r.c
1
#ifdef HAVE_CONFIG_H
2
#include <ldns/config.h>
3
#endif
4
5
#ifdef HAVE_TIME_H
6
#include <time.h>
7
#endif
8
9
struct tm *gmtime_r(const time_t *timep, struct tm *result)
10
{
11
/* no thread safety. */
12
*result = *gmtime(timep);
13
return result;
14
}