diff options
-rw-r--r-- | parse-xml.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/parse-xml.c b/parse-xml.c index 6da99b378..63ce64f86 100644 --- a/parse-xml.c +++ b/parse-xml.c @@ -137,7 +137,7 @@ static enum import_source { UDDF, } import_source; -static void divedate(char *buffer, timestamp_t *when) +static void divedate(const char *buffer, timestamp_t *when) { int d, m, y; int hh, mm, ss; @@ -163,7 +163,7 @@ static void divedate(char *buffer, timestamp_t *when) *when = utc_mktime(&cur_tm); } -static void divetime(char *buffer, timestamp_t *when) +static void divetime(const char *buffer, timestamp_t *when) { int h, m, s = 0; |