From 696c9ccacd24392ea63477c5ec8a25d6649aedf7 Mon Sep 17 00:00:00 2001 From: Tomaz Canabrava Date: Thu, 2 May 2013 20:32:57 -0300 Subject: Added code to Select a dive, fixed minor annoyances. Signed-off-by: Tomaz Canabrava Signed-off-by: Dirk Hohndel --- dive.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'dive.h') 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; -- cgit v1.2.3-70-g09d2