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,10 +4,6 @@
|
|||
|
||||
#include <math.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
static inline bool nearly_equal(double a, double b)
|
||||
{
|
||||
return fabs(a - b) <= 1e-6 * fmax(fabs(a), fabs(b));
|
||||
|
@ -18,7 +14,4 @@ static inline bool nearly_0(double fp)
|
|||
return fabs(fp) <= 1e-6;
|
||||
}
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
#endif // SUBSURFACE_FLOAT_H
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue