diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2014-05-26 08:23:22 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-05-26 08:23:22 -0700 |
commit | cfe865dd0c78a81717993b479894fd0e823767d3 (patch) | |
tree | 5abcefc1e943daec1241d59f1dd753685124d635 /dive.h | |
parent | d14a531510e22baa236f661e2235e20dac6d7f6d (diff) | |
parent | 04b6b6aaf9cc194a698c2302abc2032f730aecb4 (diff) | |
download | subsurface-cfe865dd0c78a81717993b479894fd0e823767d3.tar.gz |
Merge branch 'atdotde'
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Conflicts:
qt-ui/diveplanner.cpp
qt-ui/models.cpp
Diffstat (limited to 'dive.h')
-rw-r--r-- | dive.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -91,6 +91,9 @@ static inline int get_he(const struct gasmix *mix) return mix->he.permille; } +extern void sanitize_gasmix(struct gasmix *mix); +extern int gasmix_distance(const struct gasmix *a, const struct gasmix *b); + static inline bool is_air(int o2, int he) { return (he == 0) && (o2 == 0 || ((o2 >= O2_IN_AIR - 1) && (o2 <= O2_IN_AIR + 1))); |