summaryrefslogtreecommitdiffstats
path: root/main.c
diff options
context:
space:
mode:
authorGravatar Linus Torvalds <torvalds@linux-foundation.org>2011-09-12 13:25:05 -0700
committerGravatar Linus Torvalds <torvalds@linux-foundation.org>2011-09-12 13:25:05 -0700
commit42f627b8b1cf7e929a30c0a07a5fb44a4cec9e1f (patch)
tree0e42e51ce46d386a8366478fcc3d66ad5b19ce1f /main.c
parentaa416e3c96dfa53db5ae277e72f6a03821c45cac (diff)
downloadsubsurface-42f627b8b1cf7e929a30c0a07a5fb44a4cec9e1f.tar.gz
Libdivecomputer: start actually importing the dive data
So this actually reports the dive data that libdivecomputer generates. It doesn't import special events etc, but neither do we for the xml importer. It is also slow as heck, since it doesn't try to do the "hey, I already have this dive" logic and always imports everything, but the basics are definitely there. Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'main.c')
-rw-r--r--main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.c b/main.c
index 23570828e..5157c54e3 100644
--- a/main.c
+++ b/main.c
@@ -37,7 +37,7 @@ static int sortfn(const void *_a, const void *_b)
* This doesn't really report anything at all. We just sort the
* dives, the GUI does the reporting
*/
-static void report_dives(void)
+void report_dives(void)
{
int i;