summaryrefslogtreecommitdiffstats
path: root/parse-xml.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 /parse-xml.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 'parse-xml.c')
-rw-r--r--parse-xml.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/parse-xml.c b/parse-xml.c
index 4d6912e72..24acb1c1c 100644
--- a/parse-xml.c
+++ b/parse-xml.c
@@ -104,7 +104,7 @@ static enum import_source {
UDDF,
} import_source;
-static time_t utc_mktime(struct tm *tm)
+time_t utc_mktime(struct tm *tm)
{
static const int mdays[] = {
0, 31, 59, 90, 120, 151, 181, 212, 243, 273, 304, 334