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)