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