if_iwm - Factor out firmware station handling into if_iwm_sta.c.
[dragonfly.git] / contrib / ldns / compat / localtime_r.c
blob017c6e4d65938653636a12f38df4cdc70097ff4f
1 #ifdef HAVE_CONFIG_H
2 #include <ldns/config.h>
3 #endif
5 #ifdef HAVE_TIME_H
6 #include <time.h>
7 #endif
9 struct tm *localtime_r(const time_t *timep, struct tm *result)
11 /* no thread safety. */
12 *result = *localtime(timep);
13 return result;