summaryrefslogtreecommitdiffstats
path: root/dive.h
diff options
context:
space:
mode:
authorGravatar Linus Torvalds <torvalds@linux-foundation.org>2013-02-14 15:18:48 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-02-15 01:11:14 -0800
commitc6da79e1b0157aa286ce65c41b491fbf43f6731e (patch)
tree8b912318429da2c74acdde2096f43fe44daa9ab3 /dive.h
parentb4c2fcc802d88fb8721d245e682c99a0237784a0 (diff)
downloadsubsurface-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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/dive.h b/dive.h
index fdeac977a..8e68c9dab 100644
--- a/dive.h
+++ b/dive.h
@@ -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);