core: remove __cplusplus ifdefs

Since all source files are now C++, this is redundant.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
Berthold Stoeger 2024-05-04 17:55:50 +02:00 committed by bstoeger
parent 9065bf8622
commit 03b910ee7f
55 changed files with 37 additions and 347 deletions

View file

@ -4,9 +4,7 @@
#include "units.h"
#ifdef __cplusplus
extern "C" {
#endif
#define MAX_SENSORS 2
#define MAX_O2_SENSORS 6
@ -33,15 +31,11 @@ struct sample // BASE TYPE BYTES UNITS RANGE
bool in_deco; // bool 1 y/n y/n this sample is part of deco
bool manually_entered; // bool 1 y/n y/n this sample was entered by the user,
// not calculated when planning a dive
#ifdef __cplusplus
sample(); // Default constructor
#endif
}; // Total size of structure: 63 bytes, excluding padding at end
extern void add_sample_pressure(struct sample *sample, int sensor, int mbar);
#ifdef __cplusplus
}
#endif
#endif