summaryrefslogtreecommitdiffstats
path: root/core/time.c
diff options
context:
space:
mode:
Diffstat (limited to 'core/time.c')
-rw-r--r--core/time.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/time.c b/core/time.c
index 861d7b1d5..0dd47856b 100644
--- a/core/time.c
+++ b/core/time.c
@@ -99,7 +99,7 @@ void utc_mkdate(timestamp_t timestamp, struct tm *tm)
tm->tm_mon = m;
}
-timestamp_t utc_mktime(struct tm *tm)
+timestamp_t utc_mktime(const struct tm *tm)
{
static const int mdays[] = {
0, 31, 59, 90, 120, 151, 181, 212, 243, 273, 304, 334