mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
cleanup: remove unused declarations in planner.h
Most of these declared non existing functions or pointers. One [get_gas_idx()] was only used in one source file and doesn't have to be globally accessible Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
691d9e86de
commit
4bbe5646a5
2 changed files with 1 additions and 10 deletions
|
@ -92,7 +92,7 @@ int get_cylinderid_at_time(struct dive *dive, struct divecomputer *dc, duration_
|
|||
return cylinder_idx;
|
||||
}
|
||||
|
||||
int get_gasidx(struct dive *dive, struct gasmix mix)
|
||||
static int get_gasidx(struct dive *dive, struct gasmix mix)
|
||||
{
|
||||
return find_best_gasmix_match(mix, &dive->cylinders);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue