summaryrefslogtreecommitdiff
path: root/navit/vehicle.c
diff options
context:
space:
mode:
authormartin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220>2008-10-25 11:32:37 +0000
committermartin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220>2008-10-25 11:32:37 +0000
commitcd9ef1728721b1f3924c547e63667116ce1ca6a9 (patch)
tree916d7cdc189010ef5a7a8d05a4cca65b24401ec2 /navit/vehicle.c
parent37fbca67790882c1f7377a0fcc71b588725e65fd (diff)
downloadnavit-cd9ef1728721b1f3924c547e63667116ce1ca6a9.tar.gz
Fix:Core:Cleanup of vehicle handling
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@1559 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'navit/vehicle.c')
-rw-r--r--navit/vehicle.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/navit/vehicle.c b/navit/vehicle.c
index 2dc21edfc..a97ac9541 100644
--- a/navit/vehicle.c
+++ b/navit/vehicle.c
@@ -114,7 +114,7 @@ vehicle_add_log(struct vehicle *this_, struct log *log)
}
struct vehicle *
-vehicle_new(struct attr **attrs)
+vehicle_new(struct attr *parent, struct attr **attrs)
{
struct vehicle *this_;
struct attr *source;
@@ -164,7 +164,7 @@ vehicle_new(struct attr **attrs)
}
int
-vehicle_get_attr(struct vehicle *this_, enum attr_type type, struct attr *attr)
+vehicle_get_attr(struct vehicle *this_, enum attr_type type, struct attr *attr, struct attr_iter *iter)
{
switch (type) {
case attr_name: