summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2020-03-17 22:52:13 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2020-03-17 16:50:20 -0700
commit2da7b6d0f5ddb5eaa428a64c79f58fdbe9efda7a (patch)
tree0d71650384bd3a17debb753913f5241a3a9e841a
parented3e68c36a94a14d73c81ef7e2ce27ec3ea24217 (diff)
downloadsubsurface-2da7b6d0f5ddb5eaa428a64c79f58fdbe9efda7a.tar.gz
cleanup: remove record_dive() function
No user left. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
-rw-r--r--core/dive.h1
-rw-r--r--core/parse.c5
2 files changed, 0 insertions, 6 deletions
diff --git a/core/dive.h b/core/dive.h
index 58d79cc37..95623d653 100644
--- a/core/dive.h
+++ b/core/dive.h
@@ -340,7 +340,6 @@ extern struct dive *alloc_dive(void);
extern void free_dive(struct dive *);
extern void free_dive_dcs(struct divecomputer *dc);
extern void record_dive_to_table(struct dive *dive, struct dive_table *table);
-extern void record_dive(struct dive *dive);
extern void clear_dive(struct dive *dive);
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);
diff --git a/core/parse.c b/core/parse.c
index 56e5928fc..ceefa23bb 100644
--- a/core/parse.c
+++ b/core/parse.c
@@ -81,11 +81,6 @@ void record_dive_to_table(struct dive *dive, struct dive_table *table)
add_to_dive_table(table, table->nr, fixup_dive(dive));
}
-void record_dive(struct dive *dive)
-{
- record_dive_to_table(dive, &dive_table);
-}
-
void start_match(const char *type, const char *name, char *buffer)
{
if (verbose > 2)