diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2017-11-16 17:55:14 -0800 |
---|---|---|
committer | Lubomir I. Ivanov <neolit123@gmail.com> | 2017-11-17 15:25:26 +0100 |
commit | 2e82a5d2ed6966cb1ac0fb9751278d357ae6346d (patch) | |
tree | 0ddef18162f79f0b341fd51db7d1f69379590fde /core/dive.h | |
parent | 8136c2d78b5769c4dfca0f6d68b1a9ccb95f698e (diff) | |
download | subsurface-2e82a5d2ed6966cb1ac0fb9751278d357ae6346d.tar.gz |
Properly declare 'has_gaschange_event()' function
It's already used in core/gaspressures.c where it was declared
privately, and we'll have a new user in the profile code, so just
declare it in a proper header file like it should have been.
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
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 a862748d7..935da735d 100644 --- a/core/dive.h +++ b/core/dive.h @@ -429,6 +429,7 @@ extern timestamp_t picture_get_timestamp(const char *filename); extern void dive_set_geodata_from_picture(struct dive *d, struct picture *pic); extern void picture_free(struct picture *picture); +extern bool has_gaschange_event(struct dive *dive, struct divecomputer *dc, int idx); extern int explicit_first_cylinder(struct dive *dive, struct divecomputer *dc); extern int get_depth_at_time(struct divecomputer *dc, unsigned int time); @@ -970,7 +971,6 @@ static inline struct gasmix *get_gasmix(struct dive *dive, struct divecomputer * return gasmix; } - /* these structs holds the information that * describes the cylinders / weight systems. * they are global variables initialized in equipment.c |