summaryrefslogtreecommitdiffstats
path: root/dive.c
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2014-05-26 08:23:22 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-05-26 08:23:22 -0700
commitcfe865dd0c78a81717993b479894fd0e823767d3 (patch)
tree5abcefc1e943daec1241d59f1dd753685124d635 /dive.c
parentd14a531510e22baa236f661e2235e20dac6d7f6d (diff)
parent04b6b6aaf9cc194a698c2302abc2032f730aecb4 (diff)
downloadsubsurface-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.c')
-rw-r--r--dive.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/dive.c b/dive.c
index 7e211f163..ae07d151a 100644
--- a/dive.c
+++ b/dive.c
@@ -520,7 +520,7 @@ static int same_rounded_pressure(pressure_t a, pressure_t b)
return abs(a.mbar - b.mbar) <= 500;
}
-static void sanitize_gasmix(struct gasmix *mix)
+void sanitize_gasmix(struct gasmix *mix)
{
unsigned int o2, he;
@@ -1253,7 +1253,7 @@ static void merge_weightsystem_info(weightsystem_t *res, weightsystem_t *a, weig
*res = *a;
}
-static int gasmix_distance(const struct gasmix *a, const struct gasmix *b)
+int gasmix_distance(const struct gasmix *a, const struct gasmix *b)
{
int a_o2 = get_o2(a), b_o2 = get_o2(b);
int a_he = get_he(a), b_he = get_he(b);