summaryrefslogtreecommitdiffstats
path: root/core/dive.h
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2020-04-10 09:18:38 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2020-04-10 10:53:03 -0700
commit34657f62ae5209b2f1c44efde053aba43e783e5e (patch)
treee3d0cee88d852c74d4bf5ff0ec811cc09c534cb9 /core/dive.h
parentaa8cadbcdd85ffb34950596c62cb3a3a4272c5e3 (diff)
downloadsubsurface-34657f62ae5209b2f1c44efde053aba43e783e5e.tar.gz
cleanup: remove picture_free()
There is the free_picture() function with the same functionality. The compiler/linker should recognize that and remove the duplicate code, but still... Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'core/dive.h')
-rw-r--r--core/dive.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/core/dive.h b/core/dive.h
index 7637ddc54..1a1022e53 100644
--- a/core/dive.h
+++ b/core/dive.h
@@ -228,7 +228,6 @@ extern void create_picture(const char *filename, int shift_time, bool match_all)
extern void dive_add_picture(struct dive *d, struct picture *newpic);
extern bool dive_remove_picture(struct dive *d, const char *filename);
extern bool picture_check_valid_time(timestamp_t timestamp, int shift_time);
-extern void picture_free(struct picture *picture);
extern bool has_gaschange_event(const struct dive *dive, const struct divecomputer *dc, int idx);
extern int explicit_first_cylinder(const struct dive *dive, const struct divecomputer *dc);