summaryrefslogtreecommitdiffstats
path: root/core/taxonomy.c
diff options
context:
space:
mode:
Diffstat (limited to 'core/taxonomy.c')
-rw-r--r--core/taxonomy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/taxonomy.c b/core/taxonomy.c
index 0c9f89957..c21a2e644 100644
--- a/core/taxonomy.c
+++ b/core/taxonomy.c
@@ -63,7 +63,7 @@ void copy_taxonomy(const struct taxonomy_data *orig, struct taxonomy_data *copy)
}
}
-int taxonomy_index_for_category(const struct taxonomy_data *t, enum taxonomy_category cat)
+static int taxonomy_index_for_category(const struct taxonomy_data *t, enum taxonomy_category cat)
{
for (int i = 0; i < t->nr; i++) {
if (t->category[i].category == cat)