diff options
| author | drochner <drochner@NetBSD.org> | 2007-02-22 22:08:17 +0000 |
|---|---|---|
| committer | drochner <drochner@NetBSD.org> | 2007-02-22 22:08:17 +0000 |
| commit | 7161d089aa8bd2b3f8fad1d6bd04c9da5244f1fc (patch) | |
| tree | 8b4329a8b2fa23033afb1c661705b772754dcd81 /include | |
| parent | 0f5ec4e70b8f657cb475f5bcbff6cf604a058d01 (diff) | |
-get cabs() and cabsf() out of public view - these are historical and
conflict with C99 functions which are builtins in newer gcc
(actually, the old cabs() is ABI compatible with the new _complex one
on i386, but this is purely accidental)
remove public prototypes and manpages, move the code into a compat
subdirectory as libc does so that binary compatibility is kept
-add a manpage for the isgreater() etc macros, borrowed from FreeBSD
Diffstat (limited to 'include')
| -rw-r--r-- | include/math.h | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/include/math.h b/include/math.h index 7be92550f29..84bba0dcb20 100644 --- a/include/math.h +++ b/include/math.h @@ -1,4 +1,4 @@ -/* $NetBSD: math.h,v 1.45 2007/02/06 17:29:37 drochner Exp $ */ +/* $NetBSD: math.h,v 1.46 2007/02/22 22:08:19 drochner Exp $ */ /* * ==================================================== @@ -390,9 +390,6 @@ double scalbn(double, int); /* * BSD math library entry points */ -#ifndef __MATH_PRIVATE__ -double cabs(/* struct complex { double r; double i; } */); -#endif double drem(double, double); #endif /* _NETBSD_SOURCE */ @@ -432,9 +429,6 @@ float significandf(float); /* * float versions of BSD math library entry points */ -#ifndef __MATH_PRIVATE__ -float cabsf(/* struct complex { float r; float i; } */); -#endif float dremf(float, float); #endif /* _NETBSD_SOURCE */ |
