cleanup: const-ify utc_mktime()

To make it clear that the struct tm is only used as an input
parameter.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
Berthold Stoeger 2020-11-01 21:44:30 +01:00 committed by Dirk Hohndel
parent 4c85357dcc
commit 6b46e8ae57
2 changed files with 2 additions and 2 deletions

View file

@ -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);