summaryrefslogtreecommitdiffstats
path: root/core/taxonomy.h
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2020-09-06 13:52:17 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2020-09-06 12:59:54 -0700
commit83c56bc34c4660c0d7bb725d475ddf7a1b3117d3 (patch)
treeba693ea7ddd9a487e8bb402b1f087b170016a792 /core/taxonomy.h
parentee2f4664705e139e90b28351f4d76a3e5fbab12d (diff)
downloadsubsurface-83c56bc34c4660c0d7bb725d475ddf7a1b3117d3.tar.gz
cleanup: make taxonomy_index_for_category() local to taxonomy.c
This helper function is not used outside taxonomy.c anymore. Let's hide this implementation detail. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'core/taxonomy.h')
-rw-r--r--core/taxonomy.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/core/taxonomy.h b/core/taxonomy.h
index 01a273053..a2c03220c 100644
--- a/core/taxonomy.h
+++ b/core/taxonomy.h
@@ -41,7 +41,6 @@ struct taxonomy_data {
void free_taxonomy(struct taxonomy_data *t);
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);
const char *taxonomy_get_value(const struct taxonomy_data *t, enum taxonomy_category cat);
const char *taxonomy_get_country(const struct taxonomy_data *t);
void taxonomy_set_category(struct taxonomy_data *t, enum taxonomy_category category, const char *value, enum taxonomy_origin origin);