diff options
author | Robert C. Helling <helling@atdotde.de> | 2015-04-24 14:19:41 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-04-24 09:35:35 -0700 |
commit | a0a3c6ec1507c86d49d7851b54d781321e3d4ef6 (patch) | |
tree | f2729cd60451229ef7f24b1a8a7bba5f29363fd2 /dive.h | |
parent | c97e136435e61e72800baa6da37f82c5240ac642 (diff) | |
download | subsurface-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.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |