diff options
author | Stefan Fuchs <sfuchs@gmx.de> | 2017-10-09 23:34:04 +0200 |
---|---|---|
committer | Robert C. Helling <helling@atdotde.de> | 2017-10-16 17:14:17 +0200 |
commit | df6933326de3ff173b2bd3458d8b29dce8c0f88f (patch) | |
tree | b3f1c52c68a29387359b9a4dbef107aea06387f7 /core/dive.h | |
parent | c29456f0bb11f07befc3af66ee7973258b491d20 (diff) | |
download | subsurface-df6933326de3ff173b2bd3458d8b29dce8c0f88f.tar.gz |
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>
Diffstat (limited to 'core/dive.h')
-rw-r--r-- | core/dive.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/dive.h b/core/dive.h index f361cfcb2..74404a223 100644 --- a/core/dive.h +++ b/core/dive.h @@ -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? */ |