diff options
author | Lukas Fleischer <calcurse@cryptocrack.de> | 2012-04-05 21:52:22 +0200 |
---|---|---|
committer | Lukas Fleischer <calcurse@cryptocrack.de> | 2012-04-05 22:18:51 +0200 |
commit | 50be1a1772e3627fc4851d46912bd2164e3afe52 (patch) | |
tree | 77a80f12ad707541bec2ab1d78e21d9600870880 /src/calcurse.h | |
parent | 80f7e8ead55ee85a364c98db64c21d70a34d1dc1 (diff) | |
download | calcurse-50be1a1772e3627fc4851d46912bd2164e3afe52.tar.gz calcurse-50be1a1772e3627fc4851d46912bd2164e3afe52.zip |
Mark some more variables/parameters constant
Fixes a couple of warnings seen with GCC 4.7.
Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
Diffstat (limited to 'src/calcurse.h')
-rw-r--r-- | src/calcurse.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/calcurse.h b/src/calcurse.h index d77c827..238d8b3 100644 --- a/src/calcurse.h +++ b/src/calcurse.h @@ -708,8 +708,8 @@ void io_export_data (enum export_type); void io_export_bar (void); void io_import_data (enum import_type, char *); struct io_file *io_log_init (void); -void io_log_print (struct io_file *, int, char *); -void io_log_display (struct io_file *, char *, char *); +void io_log_print (struct io_file *, int, const char *); +void io_log_display (struct io_file *, const char *, char *); void io_log_free (struct io_file *); void io_start_psave_thread (void); void io_stop_psave_thread (void); @@ -894,7 +894,7 @@ void exit_calcurse (int) __attribute__((__noreturn__)); void free_user_data (void); void fatalbox (const char *); void warnbox (const char *); -void status_mesg (char *, char *); +void status_mesg (const char *, const char *); void erase_window_part (WINDOW *, int, int, int, int); WINDOW *popup (int, int, int, int, char *, char *, int); void print_in_middle (WINDOW *, int, int, int, const char *); |