summaryrefslogtreecommitdiffstats
path: root/save-xml.c
diff options
context:
space:
mode:
Diffstat (limited to 'save-xml.c')
-rw-r--r--save-xml.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/save-xml.c b/save-xml.c
index 7b5cd2b10..465010cd1 100644
--- a/save-xml.c
+++ b/save-xml.c
@@ -6,6 +6,7 @@
#include <time.h>
#include "dive.h"
+#include "device.h"
static void show_milli(FILE *f, const char *pre, int value, const char *unit, const char *post)
{
@@ -524,7 +525,7 @@ void save_dives(const char *filename)
fprintf(f, "<divelog program='subsurface' version='%d'>\n<settings>\n", VERSION);
/* save the dive computer nicknames, if any */
- clear_dc_saved_status();
+ clear_device_saved_status();
for_each_dive(i, dive) {
struct divecomputer *dc = &dive->dc;
while (dc) {