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

@ -2,11 +2,7 @@
#ifndef SUBSURFACESTARTUP_H
#define SUBSURFACESTARTUP_H
#ifdef __cplusplus
extern "C" {
#else
#include <stdbool.h>
#endif
extern bool imported;
extern int quit, force_root, ignore_bt;
@ -19,7 +15,6 @@ void print_version(void);
extern char *settings_suffix;
#ifdef __cplusplus
}
#ifdef SUBSURFACE_MOBILE_DESKTOP
@ -27,6 +22,4 @@ extern char *settings_suffix;
extern std::string testqml;
#endif
#endif
#endif // SUBSURFACESTARTUP_H