diff options
author | sleske <sleske@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2013-08-11 20:26:37 +0000 |
---|---|---|
committer | sleske <sleske@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2013-08-11 20:26:37 +0000 |
commit | 63a714dd35d7b62ef37b959c6ce7a01df91df2e3 (patch) | |
tree | 785be5aa37b943992e641cd4554c9b4846aa8fcf /navit/navit.h | |
parent | b2b4ea881bff70f3f6f748c6c26f332b3962ea8f (diff) | |
download | navit-63a714dd35d7b62ef37b959c6ce7a01df91df2e3.tar.gz |
Fix:core:Fix const warnings.|Part of #1154.
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5573 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'navit/navit.h')
-rw-r--r-- | navit/navit.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/navit/navit.h b/navit/navit.h index 68d3c9feb..e8cc29078 100644 --- a/navit/navit.h +++ b/navit/navit.h @@ -72,7 +72,7 @@ void navit_zoom_out(struct navit *this_, int factor, struct point *p); void navit_zoom_in_cursor(struct navit *this_, int factor); void navit_zoom_out_cursor(struct navit *this_, int factor); struct navit *navit_new(struct attr *parent, struct attr **attrs); -void navit_add_message(struct navit *this_, char *message); +void navit_add_message(struct navit *this_, const char *message); struct message *navit_get_messages(struct navit *this_); struct graphics *navit_get_graphics(struct navit *this_); struct vehicleprofile *navit_get_vehicleprofile(struct navit *this_); @@ -91,7 +91,7 @@ struct map* read_former_destinations_from_file(void); void navit_textfile_debug_log(struct navit *this_, const char *fmt, ...); void navit_textfile_debug_log_at(struct navit *this_, struct pcoord *pc, const char *fmt, ...); int navit_speech_estimate(struct navit *this_, char *str); -void navit_say(struct navit *this_, char *text); +void navit_say(struct navit *this_, const char *text); void navit_speak(struct navit *this_); void navit_window_roadbook_destroy(struct navit *this_); void navit_window_roadbook_new(struct navit *this_); |