summaryrefslogtreecommitdiffstats
path: root/planner.h
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2014-05-30 15:40:13 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-05-30 15:40:13 -0700
commit65f3135a92cb9bb33c9870105334ca458e1f151d (patch)
tree033889895ff6b40989e1070fdc59d5e9ec231aa5 /planner.h
parentb791b41db98ddec7b25448092fa30f24224af8c5 (diff)
downloadsubsurface-65f3135a92cb9bb33c9870105334ca458e1f151d.tar.gz
Planner: don't do unnecessary work on empty dive plans
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'planner.h')
-rw-r--r--planner.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/planner.h b/planner.h
index 49f8be5ef..d5607a948 100644
--- a/planner.h
+++ b/planner.h
@@ -13,6 +13,7 @@ extern void show_planned_dive(char **error_string_p);
extern void set_last_stop(bool last_stop_6m);
extern void get_gas_from_events(struct divecomputer *dc, int time, int *o2, int *he);
extern int get_gasidx(struct dive *dive, int o2, int he);
+extern bool diveplan_empty(struct diveplan *diveplan);
extern struct dive *planned_dive;
extern char *cache_data;