mirror of https://github.com/OISF/suricata
OpenBSD: introduce SCLocalTime function.
This function is a wrapper to localtime_r. It is needed to avoid a compilation warning on OpenBSD. I'm forced to type the function to a non pointer first parameter. If not we will have to use two differents functions in OpenBSD where tv->tv_sec is a long (different from time_t).remotes/origin/HEAD
parent
00948c86d5
commit
a0e57f58e5
Loading…
Reference in New Issue