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>
This commit is contained in:
Lukas Fleischer
2011-10-05 09:11:14 +02:00
parent 59e006e56d
commit 162c6aebdd
2 changed files with 5 additions and 5 deletions

View File

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