From fdca1303870ebeb0ea846984e0a9eb8804000390 Mon Sep 17 00:00:00 2001 From: Berthold Stoeger Date: Sat, 11 Apr 2020 14:53:54 +0200 Subject: cleanup: make remove_from_*_table equipment functions static These functions were not used outside their translation unit. Signed-off-by: Berthold Stoeger --- core/equipment.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'core') diff --git a/core/equipment.c b/core/equipment.c index a5acb776d..1d701ae81 100644 --- a/core/equipment.c +++ b/core/equipment.c @@ -47,7 +47,7 @@ void copy_weights(const struct weightsystem_table *s, struct weightsystem_table static MAKE_GROW_TABLE(weightsystem_table, weightsystem_t, weightsystems) //static MAKE_GET_INSERTION_INDEX(weightsystem_table, weightsystem_t, weightsystems, weightsystem_less_than) MAKE_ADD_TO(weightsystem_table, weightsystem_t, weightsystems) -MAKE_REMOVE_FROM(weightsystem_table, weightsystems) +static MAKE_REMOVE_FROM(weightsystem_table, weightsystems) //MAKE_SORT(weightsystem_table, weightsystem_t, weightsystems, comp_weightsystems) //MAKE_REMOVE(weightsystem_table, weightsystem_t, weightsystem) MAKE_CLEAR_TABLE(weightsystem_table, weightsystems, weightsystem) @@ -57,7 +57,7 @@ MAKE_CLEAR_TABLE(weightsystem_table, weightsystems, weightsystem) static MAKE_GROW_TABLE(cylinder_table, cylinder_t, cylinders) //static MAKE_GET_INSERTION_INDEX(cylinder_table, cylinder_t, cylinders, cylinder_less_than) static MAKE_ADD_TO(cylinder_table, cylinder_t, cylinders) -MAKE_REMOVE_FROM(cylinder_table, cylinders) +static MAKE_REMOVE_FROM(cylinder_table, cylinders) //MAKE_SORT(cylinder_table, cylinder_t, cylinders, comp_cylinders) //MAKE_REMOVE(cylinder_table, cylinder_t, cylinder) MAKE_CLEAR_TABLE(cylinder_table, cylinders, cylinder) -- cgit v1.2.3-70-g09d2