summaryrefslogtreecommitdiff
path: root/navit/traffic
diff options
context:
space:
mode:
authormvglasow <michael -at- vonglasow.com>2017-11-30 13:05:52 +0100
committermvglasow <michael -at- vonglasow.com>2017-11-30 13:05:52 +0100
commit2e92d0ba44014d6603cd5ebde2fd20ad08cd3ba1 (patch)
tree506e3ef348130b62604fdabab3fea0b95efba8ba /navit/traffic
parentc86c107dae333fee628e78bf7327dfb187560630 (diff)
downloadnavit-2e92d0ba44014d6603cd5ebde2fd20ad08cd3ba1.tar.gz
Add:traffic:Pass instance to get_messages method
Signed-off-by: mvglasow <michael -at- vonglasow.com>
Diffstat (limited to 'navit/traffic')
-rw-r--r--navit/traffic/dummy/traffic_dummy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/navit/traffic/dummy/traffic_dummy.c b/navit/traffic/dummy/traffic_dummy.c
index 7e7d9e4b6..8c21cc266 100644
--- a/navit/traffic/dummy/traffic_dummy.c
+++ b/navit/traffic/dummy/traffic_dummy.c
@@ -58,7 +58,7 @@ struct traffic_priv {
*
* @return A `NULL`-terminated pointer array. Each element points to one `struct traffic_message`.
*/
-struct traffic_message ** traffic_dummy_get_messages(void) {
+struct traffic_message ** traffic_dummy_get_messages(struct traffic_priv * this_) {
struct traffic_message ** messages = g_new0(struct traffic_message *, 2);
struct traffic_point * from = traffic_point_new(11.6208, 48.3164, "Neufahrn", "68", "12732-4");
struct traffic_point * to = traffic_point_new(11.5893, 48.429, "Allershausen", "67", "12732");