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,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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue