diff options
author | das <das@FreeBSD.org> | 2007-12-18 01:15:20 +0000 |
---|---|---|
committer | das <das@FreeBSD.org> | 2007-12-18 01:15:20 +0000 |
commit | bbeb8e278aae8df1de09929ce552c13f242c5d19 (patch) | |
tree | bdef5bffa5089cc3c29d45a6e38899a4c52d5b78 | |
parent | 9fc024313f4b80750c79fdb9942cdec5e800f65c (diff) | |
download | FreeBSD-src-bbeb8e278aae8df1de09929ce552c13f242c5d19.zip FreeBSD-src-bbeb8e278aae8df1de09929ce552c13f242c5d19.tar.gz |
Remove z_abs(). The z_*() functions were in libf77, and for some reason
someone thought it would be a good idea to copy z_abs() to libm in 1994.
However, it's never been declared or documented anywhere, and I'm
reasonably confident that nobody uses it.
Discussed with: bde, deischen, kan
-rw-r--r-- | lib/msun/Symbol.map | 1 | ||||
-rw-r--r-- | lib/msun/src/w_cabs.c | 7 |
2 files changed, 0 insertions, 8 deletions
diff --git a/lib/msun/Symbol.map b/lib/msun/Symbol.map index 75946aa..df30928 100644 --- a/lib/msun/Symbol.map +++ b/lib/msun/Symbol.map @@ -178,7 +178,6 @@ FBSD_1.0 { truncf; truncl; cabs; - z_abs; cabsf; drem; dremf; diff --git a/lib/msun/src/w_cabs.c b/lib/msun/src/w_cabs.c index a33a41f..d00e76e 100644 --- a/lib/msun/src/w_cabs.c +++ b/lib/msun/src/w_cabs.c @@ -19,10 +19,3 @@ cabs(z) { return hypot(creal(z), cimag(z)); } - -double -z_abs(z) - double complex *z; -{ - return hypot(creal(*z), cimag(*z)); -} |