summaryrefslogtreecommitdiffstats
path: root/dive.h
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tcanabrava@kde.org>2013-05-02 20:32:57 -0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-05-02 16:56:48 -0700
commit696c9ccacd24392ea63477c5ec8a25d6649aedf7 (patch)
tree372fdebe1a83f3fd5d10cd1cff94ee32ed835f31 /dive.h
parent82b1b04920fdd5882e0cbf28c9871c2ddd404af8 (diff)
downloadsubsurface-696c9ccacd24392ea63477c5ec8a25d6649aedf7.tar.gz
Added code to Select a dive, fixed minor annoyances.
Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'dive.h')
-rw-r--r--dive.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/dive.h b/dive.h
index f2153587f..c13cac0aa 100644
--- a/dive.h
+++ b/dive.h
@@ -350,6 +350,8 @@ struct dive {
struct divecomputer dc;
};
+extern int get_index_for_dive(struct dive *dive);
+
static inline int dive_has_gps_location(struct dive *dive)
{
return dive->latitude.udeg || dive->longitude.udeg;