summaryrefslogtreecommitdiffstats
path: root/core/libdivecomputer.h
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2020-10-19 18:42:43 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2020-10-24 09:51:37 -0700
commit5a19437311231aed114de8da75e19f94ac04f5aa (patch)
treeed73c87e92e39188e91c03918c01498ee2b3c5b8 /core/libdivecomputer.h
parent8c65558b5c432c1d0e9c6af5939faa56ffecf51a (diff)
downloadsubsurface-5a19437311231aed114de8da75e19f94ac04f5aa.tar.gz
cleanup: remove dc_user_device_t
The same structure was defined as "struct dc_user_device_t" and typedefed as "device_data_t". Unify this. Since there are much more of the latter, remove the former. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'core/libdivecomputer.h')
-rw-r--r--core/libdivecomputer.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/core/libdivecomputer.h b/core/libdivecomputer.h
index 50a151be0..9e3fbf1ef 100644
--- a/core/libdivecomputer.h
+++ b/core/libdivecomputer.h
@@ -29,8 +29,7 @@ extern "C" {
struct dive;
struct dive_computer;
-typedef struct dc_user_device_t
-{
+typedef struct {
dc_descriptor_t *descriptor;
const char *vendor, *product, *devname;
const char *model, *btname;