aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--core/dive.c13
-rw-r--r--core/dive.h1
2 files changed, 0 insertions, 14 deletions
diff --git a/core/dive.c b/core/dive.c
index 0a8c9f2a9..372361a47 100644
--- a/core/dive.c
+++ b/core/dive.c
@@ -3596,19 +3596,6 @@ struct dive *find_dive_n_near(timestamp_t when, int n, timestamp_t offset)
return NULL;
}
-void shift_times(const timestamp_t amount)
-{
- int i;
- struct dive *dive;
-
- for_each_dive (i, dive) {
- if (!dive->selected)
- continue;
- dive->when += amount;
- invalidate_dive_cache(dive);
- }
-}
-
timestamp_t get_times()
{
int i;
diff --git a/core/dive.h b/core/dive.h
index c3c0d78f8..bf7e08d86 100644
--- a/core/dive.h
+++ b/core/dive.h
@@ -767,7 +767,6 @@ extern void subsurface_console_init(void);
extern void subsurface_console_exit(void);
extern bool subsurface_user_is_root(void);
-extern void shift_times(const timestamp_t amount);
extern timestamp_t get_times();
extern xsltStylesheetPtr get_stylesheet(const char *name);