summaryrefslogtreecommitdiff
path: root/lib/libc/alpha/gen/isinf.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/alpha/gen/isinf.c')
-rw-r--r--lib/libc/alpha/gen/isinf.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/libc/alpha/gen/isinf.c b/lib/libc/alpha/gen/isinf.c
index 663154cbb4872..0017ea58f56c2 100644
--- a/lib/libc/alpha/gen/isinf.c
+++ b/lib/libc/alpha/gen/isinf.c
@@ -27,6 +27,8 @@
* $NetBSD: isinf.c,v 1.1 1995/02/10 17:50:23 cgd Exp $
*/
+/* For binary compat; to be removed in FreeBSD 6.0. */
+
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
@@ -34,6 +36,9 @@ __FBSDID("$FreeBSD$");
#include <machine/ieee.h>
#include <math.h>
+#undef isnan
+#undef isinf
+
int
isnan(d)
double d;