aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2018-11-22 07:43:22 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2018-11-23 13:24:00 -0800
commitd67ecf892570a23ab347ae0f2ba5fbce96288a7a (patch)
treeea35a90243fd5244d4fb55c8393039bddcc13d9c
parent1ebf5a99ed934d4cf5af937b638647d5c5c83e6d (diff)
downloadsubsurface-d67ecf892570a23ab347ae0f2ba5fbce96288a7a.tar.gz
Cleanup: remove redundant 'extern "C"' in dive.h
In dive.h there was a redundant 'extern "C"' block defined inside another 'extern "C"' block. Remove. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
-rw-r--r--core/dive.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/core/dive.h b/core/dive.h
index d360ccb16..92bb1bb33 100644
--- a/core/dive.h
+++ b/core/dive.h
@@ -461,10 +461,6 @@ extern void delete_current_divecomputer(void);
#define for_each_gps_location(_i, _x) \
for ((_i) = 0; ((_x) = get_gps_location(_i, &gps_location_table)) != NULL; (_i)++)
-#ifdef __cplusplus
-extern "C" {
-#endif
-
extern struct dive *get_dive_by_uniq_id(int id);
extern int get_idx_by_uniq_id(int id);
extern bool dive_site_has_gps_location(const struct dive_site *ds);
@@ -601,10 +597,6 @@ extern void set_dc_nickname(struct dive *dive);
extern void set_autogroup(bool value);
extern int total_weight(const struct dive *);
-#ifdef __cplusplus
-}
-#endif
-
#define DIVE_ERROR_PARSE 1
#define DIVE_ERROR_PLAN 2