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