diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2013-02-14 15:18:48 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2013-02-15 01:11:14 -0800 |
commit | c6da79e1b0157aa286ce65c41b491fbf43f6731e (patch) | |
tree | 8b912318429da2c74acdde2096f43fe44daa9ab3 /dive.h | |
parent | b4c2fcc802d88fb8721d245e682c99a0237784a0 (diff) | |
download | subsurface-c6da79e1b0157aa286ce65c41b491fbf43f6731e.tar.gz |
Improve the code handling air temperature
Better helper functions make for easier to understand code.
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
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
@@ -561,7 +561,7 @@ extern void finish_sample(struct divecomputer *dc); extern void sort_table(struct dive_table *table); extern void report_dives(gboolean imported, gboolean prefer_imported); extern struct dive *fixup_dive(struct dive *dive); -extern void fixup_airtemp(struct dive *dive); +extern unsigned int dc_airtemp(struct divecomputer *dc); extern struct dive *merge_dives(struct dive *a, struct dive *b, int offset, gboolean prefer_downloaded); extern struct dive *try_to_merge(struct dive *a, struct dive *b, gboolean prefer_downloaded); extern void renumber_dives(int nr); |