build: remove extern "C" linkage

No more C source files, no more necessity to use C-linkage.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
Berthold Stoeger 2024-05-04 18:45:55 +02:00 committed by bstoeger
parent 03b910ee7f
commit b56dd13add
104 changed files with 364 additions and 577 deletions

View file

@ -6,8 +6,6 @@
#include <string>
#include <vector>
extern "C" {
struct divecomputer;
struct device;
struct device_table;
@ -61,8 +59,6 @@ typedef void (*device_callback_t)(const char *name, void *userdata);
extern int enumerate_devices(device_callback_t callback, void *userdata, unsigned int transport);
}
// Functions and global variables that are only available to C++ code
struct device {
bool operator<(const device &a) const;