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>
This commit is contained in:
Berthold Stoeger 2018-11-22 07:43:22 +01:00 committed by Dirk Hohndel
parent 1ebf5a99ed
commit d67ecf8925

View file

@ -461,10 +461,6 @@ extern void delete_current_divecomputer(void);
#define for_each_gps_location(_i, _x) \ #define for_each_gps_location(_i, _x) \
for ((_i) = 0; ((_x) = get_gps_location(_i, &gps_location_table)) != NULL; (_i)++) 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 struct dive *get_dive_by_uniq_id(int id);
extern int get_idx_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); 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 void set_autogroup(bool value);
extern int total_weight(const struct dive *); extern int total_weight(const struct dive *);
#ifdef __cplusplus
}
#endif
#define DIVE_ERROR_PARSE 1 #define DIVE_ERROR_PARSE 1
#define DIVE_ERROR_PLAN 2 #define DIVE_ERROR_PLAN 2