mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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:
parent
9065bf8622
commit
03b910ee7f
55 changed files with 37 additions and 347 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue