mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
In dive.c make cylinder_renumber an external function...
instead of dc_cylinder_renumber() because it is the one which is really useful elsewhere. Signed-off-by: Stefan Fuchs <sfuchs@gmx.de>
This commit is contained in:
parent
c29456f0bb
commit
df6933326d
2 changed files with 3 additions and 3 deletions
|
|
@ -367,7 +367,7 @@ static inline bool dive_cache_is_valid(const struct dive *dive)
|
|||
}
|
||||
|
||||
extern int get_cylinder_idx_by_use(struct dive *dive, enum cylinderuse cylinder_use_type);
|
||||
extern void dc_cylinder_renumber(struct dive *dive, struct divecomputer *dc, int mapping[]);
|
||||
extern void cylinder_renumber(struct dive *dive, int mapping[]);
|
||||
extern int same_gasmix_cylinder(cylinder_t *cyl, int cylid, struct dive *dive, bool check_unused);
|
||||
|
||||
/* when selectively copying dive information, which parts should be copied? */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue