mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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:
parent
1ebf5a99ed
commit
d67ecf8925
1 changed files with 0 additions and 8 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue