summaryrefslogtreecommitdiffstats
path: root/dive.h
diff options
context:
space:
mode:
authorGravatar Linus Torvalds <torvalds@linux-foundation.org>2013-01-09 12:07:09 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-01-09 16:19:38 -0800
commitec38d3708df24a23a46f19707f0f5afd44969c92 (patch)
treee41066bcc58df363d4c8f241279a95558e5a79ca /dive.h
parent33c67cc61960545216e31fa2c420cdac94da03f0 (diff)
downloadsubsurface-ec38d3708df24a23a46f19707f0f5afd44969c92.tar.gz
Move device_info handling into a new 'device.c' file
The legacy nickname wrappers (that use the device_info structure) are left in gtk-gui.c. We can slowly start moving away from them, we don't want to start exporting that thing as some kind of generic interface. This isn't a pure code movement - because we leave the legacy interfaces alone, there are a few new interfaces in device.c (like "create a new device_info entry") that were embedded into the legacy "create nickname" code, and needed to be abstracted out. 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 bf2a4b841..0151c6a72 100644
--- a/dive.h
+++ b/dive.h
@@ -544,7 +544,6 @@ 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 gboolean dc_was_saved(struct divecomputer *dc);
extern void mark_dc_saved(struct divecomputer *dc);
-extern void clear_dc_saved_status(void);
extern void set_autogroup(gboolean value);
extern int total_weight(struct dive *);