summaryrefslogtreecommitdiffstats
path: root/dive.h
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2014-07-03 13:39:06 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-07-03 13:39:06 -0700
commit117b212cddda614a1c668882f8165c3a6a4f3093 (patch)
tree7ce7cc4a1dc1b058ea850e0c3a1d3a49c086b98f /dive.h
parent47f9f59c1a8c9a6a10b6169562066a58da7aee76 (diff)
downloadsubsurface-117b212cddda614a1c668882f8165c3a6a4f3093.tar.gz
UI restructure: make planner act on displayed_dive
Instead of constantly creating and deleting dives and messing with the dive list. 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 f20a0cff0..20415fc57 100644
--- a/dive.h
+++ b/dive.h
@@ -709,7 +709,7 @@ struct divedatapoint *create_dp(int time_incr, int depth, struct gasmix gasmix,
#if DEBUG_PLAN
void dump_plan(struct diveplan *diveplan);
#endif
-void plan(struct diveplan *diveplan, char **cached_datap, struct dive **divep, struct dive *master_dive, bool add_deco, bool show_disclaimer);
+void plan(struct diveplan *diveplan, char **cached_datap, bool add_deco, bool show_disclaimer);
void delete_single_dive(int idx);
struct event *get_next_event(struct event *event, char *name);