From e32c6c4f80d29ee09ed1c1189a528ba20dfa46de Mon Sep 17 00:00:00 2001 From: Szabolcs Nagy Date: Thu, 9 Apr 2015 20:29:44 +0000 Subject: [PATCH] more consistent feature test macros in math tests --- src/math/j0.c | 2 -- src/math/j0f.c | 1 - src/math/j1.c | 2 -- src/math/j1f.c | 1 - src/math/jn.c | 1 - src/math/jnf.c | 1 - src/math/lgamma.c | 2 -- src/math/scalb.c | 1 - src/math/scalbf.c | 1 - src/math/y0.c | 2 -- src/math/y0f.c | 1 - src/math/y1.c | 2 -- src/math/y1f.c | 1 - src/math/yn.c | 2 -- src/math/ynf.c | 2 +- 15 files changed, 1 insertion(+), 21 deletions(-) diff --git a/src/math/j0.c b/src/math/j0.c index 7a455ea..b893c00 100644 --- a/src/math/j0.c +++ b/src/math/j0.c @@ -1,5 +1,3 @@ -#define _DEFAULT_SOURCE 1 -#define _BSD_SOURCE 1 #define _XOPEN_SOURCE 700 #include #include diff --git a/src/math/j0f.c b/src/math/j0f.c index c8af0b7..1c06ec8 100644 --- a/src/math/j0f.c +++ b/src/math/j0f.c @@ -1,6 +1,5 @@ #define _DEFAULT_SOURCE 1 #define _BSD_SOURCE 1 -#define _GNU_SOURCE 1 #include #include #include "mtest.h" diff --git a/src/math/j1.c b/src/math/j1.c index 76af0a3..e1c953b 100644 --- a/src/math/j1.c +++ b/src/math/j1.c @@ -1,5 +1,3 @@ -#define _DEFAULT_SOURCE 1 -#define _BSD_SOURCE 1 #define _XOPEN_SOURCE 700 #include #include diff --git a/src/math/j1f.c b/src/math/j1f.c index 38e6ab9..640bb10 100644 --- a/src/math/j1f.c +++ b/src/math/j1f.c @@ -1,6 +1,5 @@ #define _DEFAULT_SOURCE 1 #define _BSD_SOURCE 1 -#define _GNU_SOURCE 1 #include #include #include "mtest.h" diff --git a/src/math/jn.c b/src/math/jn.c index e02db5e..fc1b5d4 100644 --- a/src/math/jn.c +++ b/src/math/jn.c @@ -1,4 +1,3 @@ -#define _BSD_SOURCE 1 #define _XOPEN_SOURCE 700 #include #include diff --git a/src/math/jnf.c b/src/math/jnf.c index c595d4c..f9330a3 100644 --- a/src/math/jnf.c +++ b/src/math/jnf.c @@ -1,6 +1,5 @@ #define _DEFAULT_SOURCE 1 #define _BSD_SOURCE 1 -#define _GNU_SOURCE 1 #include #include #include "mtest.h" diff --git a/src/math/lgamma.c b/src/math/lgamma.c index 8de729f..b20a693 100644 --- a/src/math/lgamma.c +++ b/src/math/lgamma.c @@ -1,5 +1,3 @@ -#define _DEFAULT_SOURCE 1 -#define _BSD_SOURCE 1 #define _XOPEN_SOURCE 700 #include #include diff --git a/src/math/scalb.c b/src/math/scalb.c index 4346cf5..aeb9f77 100644 --- a/src/math/scalb.c +++ b/src/math/scalb.c @@ -1,6 +1,5 @@ #define _DEFAULT_SOURCE 1 #define _BSD_SOURCE 1 -#define _GNU_SOURCE 1 #include #include #include "mtest.h" diff --git a/src/math/scalbf.c b/src/math/scalbf.c index f042058..ba199a6 100644 --- a/src/math/scalbf.c +++ b/src/math/scalbf.c @@ -1,6 +1,5 @@ #define _DEFAULT_SOURCE 1 #define _BSD_SOURCE 1 -#define _GNU_SOURCE 1 #include #include #include "mtest.h" diff --git a/src/math/y0.c b/src/math/y0.c index 7470c43..2ea45f7 100644 --- a/src/math/y0.c +++ b/src/math/y0.c @@ -1,5 +1,3 @@ -#define _DEFAULT_SOURCE 1 -#define _BSD_SOURCE 1 #define _XOPEN_SOURCE 700 #include #include diff --git a/src/math/y0f.c b/src/math/y0f.c index 7bd78a6..4ab4883 100644 --- a/src/math/y0f.c +++ b/src/math/y0f.c @@ -1,6 +1,5 @@ #define _DEFAULT_SOURCE 1 #define _BSD_SOURCE 1 -#define _GNU_SOURCE 1 #include #include #include "mtest.h" diff --git a/src/math/y1.c b/src/math/y1.c index 8af2a17..e31d67d 100644 --- a/src/math/y1.c +++ b/src/math/y1.c @@ -1,5 +1,3 @@ -#define _DEFAULT_SOURCE 1 -#define _BSD_SOURCE 1 #define _XOPEN_SOURCE 700 #include #include diff --git a/src/math/y1f.c b/src/math/y1f.c index 41afb3a..31d4485 100644 --- a/src/math/y1f.c +++ b/src/math/y1f.c @@ -1,6 +1,5 @@ #define _DEFAULT_SOURCE 1 #define _BSD_SOURCE 1 -#define _GNU_SOURCE 1 #include #include #include "mtest.h" diff --git a/src/math/yn.c b/src/math/yn.c index 3ac3214..244dbb8 100644 --- a/src/math/yn.c +++ b/src/math/yn.c @@ -1,5 +1,3 @@ -#define _DEFAULT_SOURCE 1 -#define _BSD_SOURCE 1 #define _XOPEN_SOURCE 700 #include #include diff --git a/src/math/ynf.c b/src/math/ynf.c index 1a2e7c7..983592b 100644 --- a/src/math/ynf.c +++ b/src/math/ynf.c @@ -1,5 +1,5 @@ +#define _DEFAULT_SOURCE 1 #define _BSD_SOURCE 1 -#define _GNU_SOURCE 1 #include #include #include "mtest.h" -- 2.20.1