From d67ecf892570a23ab347ae0f2ba5fbce96288a7a Mon Sep 17 00:00:00 2001 From: Berthold Stoeger Date: Thu, 22 Nov 2018 07:43:22 +0100 Subject: 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 --- core/dive.h | 8 -------- 1 file changed, 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 -- cgit v1.2.3-70-g09d2