From 40e2986d3d196855bba3836a60a482fd3a0f73a8 Mon Sep 17 00:00:00 2001 From: Jakob Kaivo Date: Wed, 31 Jan 2024 17:07:29 -0500 Subject: remove posix and xopen specific functions --- src/math/gamma.c | 12 ------------ src/math/j0.c | 12 ------------ src/math/j1.c | 12 ------------ src/math/jn.c | 12 ------------ src/math/remainder.c | 14 -------------- src/math/scalb.c | 11 ----------- src/math/signgam.c | 7 ------- src/math/y0.c | 12 ------------ src/math/y1.c | 12 ------------ src/math/yn.c | 12 ------------ 10 files changed, 116 deletions(-) delete mode 100644 src/math/gamma.c delete mode 100644 src/math/j0.c delete mode 100644 src/math/j1.c delete mode 100644 src/math/jn.c delete mode 100644 src/math/remainder.c delete mode 100644 src/math/scalb.c delete mode 100644 src/math/signgam.c delete mode 100644 src/math/y0.c delete mode 100644 src/math/y1.c delete mode 100644 src/math/yn.c (limited to 'src/math') diff --git a/src/math/gamma.c b/src/math/gamma.c deleted file mode 100644 index 644b5fac..00000000 --- a/src/math/gamma.c +++ /dev/null @@ -1,12 +0,0 @@ -#include - -double gamma(double x) -{ - SIGNAL_SAFE(0); - return x; -} - -/* -XOPEN(4,600) -LINK(m) -*/ diff --git a/src/math/j0.c b/src/math/j0.c deleted file mode 100644 index 38140422..00000000 --- a/src/math/j0.c +++ /dev/null @@ -1,12 +0,0 @@ -#include - -double j0(double x) -{ - SIGNAL_SAFE(0); - return x; -} - -/* -XOPEN(4) -LINK(m) -*/ diff --git a/src/math/j1.c b/src/math/j1.c deleted file mode 100644 index 42214704..00000000 --- a/src/math/j1.c +++ /dev/null @@ -1,12 +0,0 @@ -#include - -double j1(double x) -{ - SIGNAL_SAFE(0); - return x; -} - -/* -XOPEN(4) -LINK(m) -*/ diff --git a/src/math/jn.c b/src/math/jn.c deleted file mode 100644 index b490054c..00000000 --- a/src/math/jn.c +++ /dev/null @@ -1,12 +0,0 @@ -#include - -double jn(int n, double x) -{ - SIGNAL_SAFE(0); - return x; -} - -/* -XOPEN(4) -LINK(m) -*/ diff --git a/src/math/remainder.c b/src/math/remainder.c deleted file mode 100644 index 667e9758..00000000 --- a/src/math/remainder.c +++ /dev/null @@ -1,14 +0,0 @@ -#include -#define TGSOURCE "remainder.c" -#include "_tgmath.h" - -TYPE TGFN(remainder)(TYPE x, TYPE y) -{ - SIGNAL_SAFE(0); -} - -/* -XOPEN(400) -POSIX(200112) -LINK(m) -*/ diff --git a/src/math/scalb.c b/src/math/scalb.c deleted file mode 100644 index 55c59741..00000000 --- a/src/math/scalb.c +++ /dev/null @@ -1,11 +0,0 @@ -#include - -double scalb(double x, double n) -{ - SIGNAL_SAFE(0); -} - -/* -XOPEN(400) -LINK(m) -*/ diff --git a/src/math/signgam.c b/src/math/signgam.c deleted file mode 100644 index e200204b..00000000 --- a/src/math/signgam.c +++ /dev/null @@ -1,7 +0,0 @@ -#include -int signgam; -/* -SIGNAL_SAFE(0) -XOPEN(4) -LINK(m) -*/ diff --git a/src/math/y0.c b/src/math/y0.c deleted file mode 100644 index c70878ee..00000000 --- a/src/math/y0.c +++ /dev/null @@ -1,12 +0,0 @@ -#include - -double y0(double x) -{ - SIGNAL_SAFE(0); - return x; -} - -/* -XOPEN(4) -LINK(m) -*/ diff --git a/src/math/y1.c b/src/math/y1.c deleted file mode 100644 index 819b3011..00000000 --- a/src/math/y1.c +++ /dev/null @@ -1,12 +0,0 @@ -#include - -double y1(double x) -{ - SIGNAL_SAFE(0); - return x; -} - -/* -XOPEN(4) -LINK(m) -*/ diff --git a/src/math/yn.c b/src/math/yn.c deleted file mode 100644 index 3761b11c..00000000 --- a/src/math/yn.c +++ /dev/null @@ -1,12 +0,0 @@ -#include - -double yn(int n, double x) -{ - SIGNAL_SAFE(0); - return x; -} - -/* -XOPEN(4) -LINK(m) -*/ -- cgit v1.2.1