From 0b57b8d59f9e9eeb10f7d66bb4b83f78394f68e7 Mon Sep 17 00:00:00 2001 From: Berthold Stoeger Date: Sun, 14 Oct 2018 15:33:46 +0200 Subject: Cleanup: move clear_table() to divesite.c There were two declaration of clear_table(), one in dive.h and one in parse.h. The definition was in parse.c. Since the parser doesn't even use the function, move the function and its declaration to divelist.[ch] and remove the redundant declaration in dive.h. Signed-off-by: Berthold Stoeger --- core/dive.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'core/dive.h') diff --git a/core/dive.h b/core/dive.h index 4f453d722..ef69bc934 100644 --- a/core/dive.h +++ b/core/dive.h @@ -552,8 +552,6 @@ extern void copy_dive(const struct dive *s, struct dive *d); extern void selective_copy_dive(const struct dive *s, struct dive *d, struct dive_components what, bool clear); extern struct dive *clone_dive(struct dive *s); -extern void clear_table(struct dive_table *table); - extern void alloc_samples(struct divecomputer *dc, int num); extern void free_samples(struct divecomputer *dc); extern struct sample *prepare_sample(struct divecomputer *dc); -- cgit v1.2.3-70-g09d2