Fix:core:Fixed various compiler warnings
[navit-package] / navit / attr.h
index 65cfbe5..4858a48 100644 (file)
@@ -134,11 +134,14 @@ struct attr {
        } u;
 };
 
+struct attr_iter {
+       union {
+               GList *list;
+               struct mapset_handle *mapset_handle;
+       } u;
+};
+
 /* prototypes */
-enum attr_type;
-struct attr;
-struct attr_iter;
-struct map;
 enum attr_type attr_from_name(const char *name);
 char *attr_to_name(enum attr_type attr);
 struct attr *attr_new_from_text(const char *name, const char *value);