summaryrefslogtreecommitdiffstats
path: root/core/divelist.h
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2019-11-24 15:02:34 +0100
committerGravatar bstoeger <32835590+bstoeger@users.noreply.github.com>2019-12-04 13:00:23 +0100
commit4b1a3a1a6e1db60bda77fc70e5be6278426589cd (patch)
treed4d939b28ed65fe94dc2168163f12f3e8be16533 /core/divelist.h
parent7787bfbf9e39595d98c459e4af121f3174762c7d (diff)
downloadsubsurface-4b1a3a1a6e1db60bda77fc70e5be6278426589cd.tar.gz
Selection: move selection functions from divelist.c to selection.c
Since we now have a selection.c translation unit, put the selection- related functions there. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'core/divelist.h')
-rw-r--r--core/divelist.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/core/divelist.h b/core/divelist.h
index efab389ee..14366f274 100644
--- a/core/divelist.h
+++ b/core/divelist.h
@@ -41,12 +41,7 @@ extern void insert_dive(struct dive_table *table, struct dive *d);
extern void get_dive_gas(const struct dive *dive, int *o2_p, int *he_p, int *o2low_p);
extern int get_divenr(const struct dive *dive);
extern int remove_dive(const struct dive *dive, struct dive_table *table);
-extern bool consecutive_selected();
-extern void select_dive(struct dive *dive);
-extern void deselect_dive(struct dive *dive);
extern bool filter_dive(struct dive *d, bool shown); /* returns true if status changed */
-extern struct dive *first_selected_dive();
-extern struct dive *last_selected_dive();
extern int get_dive_nr_at_idx(int idx);
extern void set_dive_nr_for_current_dive();
extern timestamp_t get_surface_interval(timestamp_t when);
@@ -63,10 +58,6 @@ void clear_dive_file_data();
void clear_dive_table(struct dive_table *table);
void move_dive_table(struct dive_table *src, struct dive_table *dst);
-#ifdef DEBUG_TRIP
-extern void dump_selection(void);
-#endif
-
#ifdef __cplusplus
}
#endif