mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
cleanup: move copy_cylinders from dive.c to equipment.c
Since this doesn't touch struct dive, dive.c is not an appropriate place for this function. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
fdca130387
commit
2c4975f2ed
4 changed files with 9 additions and 9 deletions
|
|
@ -345,7 +345,6 @@ extern struct event *clone_event(const struct event *src_ev);
|
|||
extern void copy_events(const struct divecomputer *s, struct divecomputer *d);
|
||||
extern void copy_events_until(const struct dive *sd, struct dive *dd, int time);
|
||||
extern void free_events(struct event *ev);
|
||||
extern void copy_cylinders(const struct cylinder_table *s, struct cylinder_table *d);
|
||||
extern void copy_used_cylinders(const struct dive *s, struct dive *d, bool used_only);
|
||||
extern void copy_samples(const struct divecomputer *s, struct divecomputer *d);
|
||||
extern bool is_cylinder_used(const struct dive *dive, int idx);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue