summaryrefslogtreecommitdiff
path: root/navit/attr.c
diff options
context:
space:
mode:
Diffstat (limited to 'navit/attr.c')
-rw-r--r--navit/attr.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/navit/attr.c b/navit/attr.c
index 7495cb2fb..796adfd47 100644
--- a/navit/attr.c
+++ b/navit/attr.c
@@ -57,6 +57,11 @@ attr_from_name(const char *name)
return attr_none;
}
+
+static int attr_match(enum attr_type search, enum attr_type found);
+
+
+
char *
attr_to_name(enum attr_type attr)
{
@@ -272,7 +277,7 @@ attr_search(struct attr **attrs, struct attr *last, enum attr_type attr)
return NULL;
}
-int
+static int
attr_match(enum attr_type search, enum attr_type found)
{
switch (search) {