mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Unused code: remove shift_times()
Signed-off-by: Jan Mulder <jlmulder@xs4all.nl>
This commit is contained in:
parent
c69ea1de1b
commit
768f0db991
2 changed files with 0 additions and 14 deletions
13
core/dive.c
13
core/dive.c
|
|
@ -3596,19 +3596,6 @@ struct dive *find_dive_n_near(timestamp_t when, int n, timestamp_t offset)
|
||||||
return NULL;
|
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()
|
timestamp_t get_times()
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
|
|
|
||||||
|
|
@ -767,7 +767,6 @@ extern void subsurface_console_init(void);
|
||||||
extern void subsurface_console_exit(void);
|
extern void subsurface_console_exit(void);
|
||||||
extern bool subsurface_user_is_root(void);
|
extern bool subsurface_user_is_root(void);
|
||||||
|
|
||||||
extern void shift_times(const timestamp_t amount);
|
|
||||||
extern timestamp_t get_times();
|
extern timestamp_t get_times();
|
||||||
|
|
||||||
extern xsltStylesheetPtr get_stylesheet(const char *name);
|
extern xsltStylesheetPtr get_stylesheet(const char *name);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue