summaryrefslogtreecommitdiffstats
path: root/dive.h
diff options
context:
space:
mode:
authorGravatar Linus Torvalds <torvalds@linux-foundation.org>2013-01-24 12:21:11 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-01-24 12:59:36 -0800
commitb8efe709a8e6c23a2bf3849a454565634b2a0545 (patch)
treee97dba0652b5c7ef78681f6fba4c1544261480bc /dive.h
parent52050fdc921bc6404ae637eee6169b684f62c244 (diff)
downloadsubsurface-b8efe709a8e6c23a2bf3849a454565634b2a0545.tar.gz
Remove saving of dive computer nicnames in system config
We save the (more complete) dive computer information in the XML file with serial numbers and firmware version if we know about them, so using a complicated string in the system config was redundant and confusing. So remove that code. NOTE! Since the dive computer nicknames are now only saved if the XML file is saved, we also mark the dive list "changed" when we edit the nicknames. That way we'll be prompted to save things before exiting, even if we don't actually edit any actual dive data. Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'dive.h')
-rw-r--r--dive.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/dive.h b/dive.h
index f300b100c..a6908416d 100644
--- a/dive.h
+++ b/dive.h
@@ -537,7 +537,6 @@ extern void flush_divelist(struct dive *dive);
extern void set_dc_nickname(struct dive *dive);
extern const char *get_dc_nickname(const char *model, uint32_t deviceid);
-extern void remember_dc(const char *model, uint32_t deviceid, const char *nickname, gboolean change_conf);
extern void set_autogroup(gboolean value);
extern int total_weight(struct dive *);