summaryrefslogtreecommitdiff
path: root/src/calcurse.h
diff options
context:
space:
mode:
authorLukas Fleischer <calcurse@cryptocrack.de>2011-10-05 09:11:14 +0200
committerLukas Fleischer <calcurse@cryptocrack.de>2011-10-06 12:37:06 +0200
commit162c6aebddbe2d79d4b435b959d2285c1543de42 (patch)
tree3ac2d15a851cdfe7591892ad12c54fdf48dc4afc /src/calcurse.h
parent59e006e56d9f893506af56a4ca114fe53b537e49 (diff)
downloadcalcurse-162c6aebddbe2d79d4b435b959d2285c1543de42.zip
src/utils.c: Mark input string of parse_date() const
We don't mess about with the date string here, so it should be declared const. Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
Diffstat (limited to 'src/calcurse.h')
-rw-r--r--src/calcurse.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/calcurse.h b/src/calcurse.h
index 8e06cda..4418510 100644
--- a/src/calcurse.h
+++ b/src/calcurse.h
@@ -894,7 +894,7 @@ long mystrtol (const char *);
void print_bool_option_incolor (WINDOW *, unsigned, int, int);
const char *get_tempdir (void);
char *new_tempfile (const char *, int);
-int parse_date (char *, enum datefmt, int *, int *, int *,
+int parse_date (const char *, enum datefmt, int *, int *, int *,
struct date *);
void str_toupper (char *);
void file_close (FILE *, const char *);