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,6 +4,7 @@
#include <stdint.h>
#include <stdio.h>
#include <string>
/* libdivecomputer */
@ -20,9 +21,6 @@
#define dc_usb_storage_open(stream, context, devname) (DC_STATUS_UNSUPPORTED)
#endif
#ifdef __cplusplus
#include <string>
extern "C" {
struct dive;
@ -76,6 +74,5 @@ extern std::string logfile_name;
extern std::string dumpfile_name;
}
#endif
#endif // LIBDIVECOMPUTER_H