aboutsummaryrefslogtreecommitdiffstats
path: root/core/subsurface-time.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/subsurface-time.h')
-rw-r--r--core/subsurface-time.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/subsurface-time.h b/core/subsurface-time.h
index 828a8ef02..097aa5215 100644
--- a/core/subsurface-time.h
+++ b/core/subsurface-time.h
@@ -9,7 +9,7 @@
extern "C" {
#endif
-extern timestamp_t utc_mktime(struct tm *tm);
+extern timestamp_t utc_mktime(const struct tm *tm);
extern void utc_mkdate(timestamp_t, struct tm *tm);
extern int utc_year(timestamp_t timestamp);
extern int utc_weekday(timestamp_t timestamp);