mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
core: remove update_event_name
Since the name of an event is not incorporated into the even structure anymore, we don't need these shenanigans. Just assign the event name. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
f120fecccb
commit
8ddc960fa0
3 changed files with 1 additions and 26 deletions
|
|
@ -191,7 +191,6 @@ extern bool is_cylinder_used(const struct dive *dive, int idx);
|
|||
extern bool is_cylinder_prot(const struct dive *dive, int idx);
|
||||
extern void add_gas_switch_event(struct dive *dive, struct divecomputer *dc, int time, int idx);
|
||||
extern struct event *create_gas_switch_event(struct dive *dive, struct divecomputer *dc, int seconds, int idx);
|
||||
extern void update_event_name(struct dive *d, int dc_number, struct event *event, const char *name);
|
||||
extern void per_cylinder_mean_depth(const struct dive *dive, struct divecomputer *dc, int *mean, int *duration);
|
||||
extern int get_cylinder_index(const struct dive *dive, const struct event *ev);
|
||||
extern struct gasmix get_gasmix_from_event(const struct dive *, const struct event *ev);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue