aboutsummaryrefslogtreecommitdiffstats
path: root/core/equipment.c
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2020-03-22 23:58:19 +0100
committerGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2020-04-07 00:13:35 +0200
commit5b65776e4313bb088e3eb3dcb1e8d5732be3b1d0 (patch)
tree155cbc9ab7043d597bb79489b549bf8c248c7b25 /core/equipment.c
parent79d117b5bc801038366e245a601bea20d8a5b71b (diff)
downloadsubsurface-5b65776e4313bb088e3eb3dcb1e8d5732be3b1d0.tar.gz
cleanup: remove same_cylinder
The last user was uses a more general function. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'core/equipment.c')
-rw-r--r--core/equipment.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/core/equipment.c b/core/equipment.c
index 494baf5c1..27d01692e 100644
--- a/core/equipment.c
+++ b/core/equipment.c
@@ -157,15 +157,6 @@ bool same_weightsystem(weightsystem_t w1, weightsystem_t w2)
same_string(w1.description, w2.description);
}
-bool same_cylinder(cylinder_t cyl1, cylinder_t cyl2)
-{
- return same_string(cyl1.type.description, cyl2.type.description) &&
- same_gasmix(cyl1.gasmix, cyl2.gasmix) &&
- cyl1.start.mbar == cyl2.start.mbar &&
- cyl1.end.mbar == cyl2.end.mbar &&
- cyl1.cylinder_use == cyl2.cylinder_use;
-}
-
void get_gas_string(struct gasmix gasmix, char *text, int len)
{
if (gasmix_is_air(gasmix))