Unused code: remove shift_times()

Signed-off-by: Jan Mulder <jlmulder@xs4all.nl>
This commit is contained in:
Jan Mulder 2017-05-20 08:37:04 +02:00
parent c69ea1de1b
commit 768f0db991
2 changed files with 0 additions and 14 deletions

View file

@ -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;

View file

@ -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);