summaryrefslogtreecommitdiffstats
path: root/dive.h
diff options
context:
space:
mode:
authorGravatar Robert C. Helling <helling@atdotde.de>2015-04-02 10:49:24 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-04-02 09:46:10 -0700
commit61ff7c5f8b29cd94e1bc0941bcc1492b3f167ed9 (patch)
tree41b982ed4ab0e4290a96c758d7e5931a8d0a72e9 /dive.h
parentcc8d6014229dbca15373f6c3d888a6404c0775f1 (diff)
downloadsubsurface-61ff7c5f8b29cd94e1bc0941bcc1492b3f167ed9.tar.gz
Only do safety stop of dive has at least max depth of 10m
Signed-off-by: Robert C. Helling <helling@atdotde.de> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'dive.h')
-rw-r--r--dive.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/dive.h b/dive.h
index 86c288fca..140e14d3f 100644
--- a/dive.h
+++ b/dive.h
@@ -872,7 +872,7 @@ extern depth_t string_to_depth(const char *str);
extern pressure_t string_to_pressure(const char *str);
extern volume_t string_to_volume(const char *str, pressure_t workp);
extern fraction_t string_to_fraction(const char *str);
-extern int average_depth(struct diveplan *dive);
+extern void average_max_depth(struct diveplan *dive, int *avg_depth, int *max_depth);
#include "pref.h"