summaryrefslogtreecommitdiff
path: root/navit/event.c
diff options
context:
space:
mode:
authorhorwitz <horwitz@ffa7fe5e-494d-0410-b361-a75ebd5db220>2009-04-28 09:02:13 +0000
committerhorwitz <horwitz@ffa7fe5e-494d-0410-b361-a75ebd5db220>2009-04-28 09:02:13 +0000
commit1859dbf8f3af70f095180644c44a40bf9c8e0b93 (patch)
tree68d3cd26dad976f0262e1c8e2da2dfb4da006a71 /navit/event.c
parent406f53d90e8c78c09d224f88adb05bbe85fd4ff4 (diff)
downloadnavit-1859dbf8f3af70f095180644c44a40bf9c8e0b93.tar.gz
Fix:Misc:Fix some more warnings
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@2241 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'navit/event.c')
-rw-r--r--navit/event.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/navit/event.c b/navit/event.c
index 96fdde176..b772bf14f 100644
--- a/navit/event.c
+++ b/navit/event.c
@@ -24,8 +24,8 @@
#include "debug.h"
static struct event_methods event_methods;
-static char *e_requestor;
-static char *e_system;
+static const char *e_requestor;
+static const char *e_system;
void event_main_loop_run(void)
{
@@ -85,7 +85,7 @@ event_call_callback(struct callback_list *cb)
}
int
-event_request_system(char *system, char *requestor)
+event_request_system(const char *system, const char *requestor)
{
void (*event_type_new)(struct event_methods *meth);
if (e_system) {