diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2018-10-14 15:33:46 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2018-10-14 15:55:07 -0400 |
commit | 0b57b8d59f9e9eeb10f7d66bb4b83f78394f68e7 (patch) | |
tree | 71f07f6f97bf5230b8174884976e43d6e11e22d7 /core/dive.h | |
parent | b01cba13c5dc81ed7367ae79b6af361e6abc0da1 (diff) | |
download | subsurface-0b57b8d59f9e9eeb10f7d66bb4b83f78394f68e7.tar.gz |
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 <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'core/dive.h')
-rw-r--r-- | core/dive.h | 2 |
1 files changed, 0 insertions, 2 deletions
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); |