summaryrefslogtreecommitdiffstats
path: root/dive.h
diff options
context:
space:
mode:
authorGravatar Robert C. Helling <helling@atdotde.de>2015-04-24 14:19:41 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-04-24 09:35:35 -0700
commita0a3c6ec1507c86d49d7851b54d781321e3d4ef6 (patch)
treef2729cd60451229ef7f24b1a8a7bba5f29363fd2 /dive.h
parentc97e136435e61e72800baa6da37f82c5240ac642 (diff)
downloadsubsurface-a0a3c6ec1507c86d49d7851b54d781321e3d4ef6.tar.gz
Cleaning up variable names in image loading
Use more explicit variabel names and make the get timestamp function actually return the timestamp rather than getting a pointer argument Signed-off-by: Robert C. Helling <helling@atdotde.de> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'dive.h')
-rw-r--r--dive.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/dive.h b/dive.h
index b0127f295..c80e84128 100644
--- a/dive.h
+++ b/dive.h
@@ -390,7 +390,7 @@ extern void dive_remove_picture(char *filename);
extern unsigned int dive_get_picture_count(struct dive *d);
extern bool picture_check_valid(char *filename, int shift_time);
extern void picture_load_exif_data(struct picture *p);
-extern void picture_get_timestamp(char *filename, timestamp_t *t);
+extern timestamp_t picture_get_timestamp(char *filename);
extern void dive_set_geodata_from_picture(struct dive *d, struct picture *pic);
extern int explicit_first_cylinder(struct dive *dive, struct divecomputer *dc);