Mercurial > dovecot > core-2.2
view src/lib/utc-mktime.h @ 22664:fea53c2725c0
director: Fix director_max_parallel_moves/kicks type
Should be uint, not time.
author | Timo Sirainen <timo.sirainen@dovecot.fi> |
---|---|
date | Thu, 09 Nov 2017 12:24:16 +0200 |
parents | c4584d7dc07e |
children |
line wrap: on
line source
#ifndef UTC_MKTIME_H #define UTC_MKTIME_H #include <time.h> /* Like mktime(), but assume that tm is in UTC. Unlike mktime(), values in tm fields must be in valid range. Leap second is accepted any time though since utc_mktime is often used before applying the time zone offset. */ time_t utc_mktime(const struct tm *tm); #endif