summaryrefslogtreecommitdiffstats
path: root/statistics.h
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2013-05-06 20:36:37 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-05-06 20:38:38 -0700
commitb75a89aa868d39be29d2bb220a6e0c50d5a2b0ac (patch)
treed19b9490a152cc83ea7efecd8e4692c597720f9a /statistics.h
parent1a8239a240fe14e983da6d9a6048e2fb154ee053 (diff)
downloadsubsurface-b75a89aa868d39be29d2bb220a6e0c50d5a2b0ac.tar.gz
Start populating the maintab Dive Info widget
Establish some useful helpers and use them when updating the values. One of the helpers (from statistics.c) puzzlingly doesn't link - so that's ifdefed out. Also had to re-arrange the settings reading code (it came too late) and to extract the expanding code of the top dive from the settings reading code (as it had no business being there to begin with). Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'statistics.h')
-rw-r--r--statistics.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/statistics.h b/statistics.h
index d2709ee93..95f2957e8 100644
--- a/statistics.h
+++ b/statistics.h
@@ -31,3 +31,4 @@ extern char *get_time_string(int seconds, int maxdays);
extern char *get_minutes(int seconds);
extern void process_all_dives(struct dive *dive, struct dive **prev_dive);
extern void get_selected_dives_text(char *buffer, int size);
+extern volume_t get_gas_used(struct dive *dive);