diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2020-04-11 14:53:54 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2020-05-06 13:58:09 -0700 |
commit | fdca1303870ebeb0ea846984e0a9eb8804000390 (patch) | |
tree | e37041723c44aa24d781feb87f4c57d356188f77 | |
parent | 4d407dc666ba471946541c835da3bb5805b514bc (diff) | |
download | subsurface-fdca1303870ebeb0ea846984e0a9eb8804000390.tar.gz |
cleanup: make remove_from_*_table equipment functions static
These functions were not used outside their translation unit.
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
-rw-r--r-- | core/equipment.c | 4 |
1 files changed, 2 insertions, 2 deletions
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) |