summaryrefslogtreecommitdiff
path: root/navit/vehicle.h
diff options
context:
space:
mode:
Diffstat (limited to 'navit/vehicle.h')
-rw-r--r--navit/vehicle.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/navit/vehicle.h b/navit/vehicle.h
index d4aaecf2b..f9d65b3d5 100644
--- a/navit/vehicle.h
+++ b/navit/vehicle.h
@@ -23,11 +23,8 @@
#ifdef __cplusplus
extern "C" {
#endif
-struct vehicle;
+
struct vehicle_priv;
-enum attr_type;
-struct attr;
-struct attr_iter;
struct vehicle_methods {
void (*destroy)(struct vehicle_priv *priv);
@@ -36,6 +33,7 @@ struct vehicle_methods {
};
+
/* prototypes */
struct vehicle *vehicle_new(struct attr *parent, struct attr **attrs);
struct attr_iter *vehicle_attr_iter_new(void);
@@ -46,6 +44,7 @@ int vehicle_remove_attr(struct vehicle *this_, struct attr *attr);
void vehicle_destroy(struct vehicle *this_);
void vehicle_attr_iter_destroy(struct attr_iter *iter);
/* end of prototypes */
+
#ifdef __cplusplus
}
#endif