summaryrefslogtreecommitdiffstats
path: root/core/libdivecomputer.h
diff options
context:
space:
mode:
authorGravatar Anton Lundin <glance@acc.umu.se>2016-12-29 15:41:44 +0100
committerGravatar Subsurface <dirk@subsurface-divelog.org>2017-01-12 14:15:53 -0800
commit70e2404492bb6fd19bd865985e1622260e2d7e54 (patch)
tree99cb933c7b32742919a4c4feb3af19f3fb135b4a /core/libdivecomputer.h
parentd11dfd2f45fbf0a036d3e2089ff86a0ada43f2e0 (diff)
downloadsubsurface-70e2404492bb6fd19bd865985e1622260e2d7e54.tar.gz
Stop accessing the internals of dc_descriptor_t
This removes our own declaration of dc_descriptor_t and all our accesses to its internals, and switches to use the libdivecomputer functions to access those instead. Signed-off-by: Anton Lundin <glance@acc.umu.se>
Diffstat (limited to 'core/libdivecomputer.h')
-rw-r--r--core/libdivecomputer.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/core/libdivecomputer.h b/core/libdivecomputer.h
index ecf4dff63..aba972d28 100644
--- a/core/libdivecomputer.h
+++ b/core/libdivecomputer.h
@@ -18,13 +18,6 @@
extern "C" {
#endif
-struct dc_descriptor_t {
- const char *vendor;
- const char *product;
- dc_family_t type;
- unsigned int model;
-};
-
/* don't forget to include the UI toolkit specific display-XXX.h first
to get the definition of progressbar_t */
typedef struct device_data_t