mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-19 14:25:27 +00:00
Remove unused function
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
6920480463
commit
c63f14eefc
2 changed files with 0 additions and 13 deletions
|
@ -728,7 +728,6 @@ extern unsigned int dc_watertemp(struct divecomputer *dc);
|
|||
extern int split_dive(struct dive *);
|
||||
extern struct dive *merge_dives(struct dive *a, struct dive *b, int offset, bool prefer_downloaded);
|
||||
extern struct dive *try_to_merge(struct dive *a, struct dive *b, bool prefer_downloaded);
|
||||
extern void renumber_dives(int start_nr, bool selected_only);
|
||||
extern struct event *clone_event(const struct event *src_ev);
|
||||
extern void copy_events(struct divecomputer *s, struct divecomputer *d);
|
||||
extern void free_events(struct event *ev);
|
||||
|
|
|
@ -233,18 +233,6 @@ void parse_argument(const char *arg)
|
|||
} while (*++p);
|
||||
}
|
||||
|
||||
void renumber_dives(int start_nr, bool selected_only)
|
||||
{
|
||||
int i, nr = start_nr;
|
||||
struct dive *dive;
|
||||
|
||||
for_each_dive (i, dive) {
|
||||
if (dive->selected)
|
||||
dive->number = nr++;
|
||||
}
|
||||
mark_divelist_changed(true);
|
||||
}
|
||||
|
||||
/*
|
||||
* Under a POSIX setup, the locale string should have a format
|
||||
* like [language[_territory][.codeset][@modifier]].
|
||||
|
|
Loading…
Add table
Reference in a new issue