summaryrefslogtreecommitdiff
path: root/lib/libc
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2012-06-25 17:01:12 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2012-06-25 17:01:12 +0000
commitb1871bd7930fe88a884936649a5a65edf58f1a29 (patch)
treed92f67b106e8730dc131fd2f483d62b92e24775b /lib/libc
parent1bf483da74a4a483045b3c8266cde7b5021655b7 (diff)
Do not use <machine/float.h>, that is an deformed BSD-ism.
It turns out <float.h> is the right file to pull in. ok millert
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/arch/alpha/gen/flt_rounds.c4
-rw-r--r--lib/libc/arch/hppa/gen/flt_rounds.c4
-rw-r--r--lib/libc/arch/hppa64/gen/flt_rounds.c4
-rw-r--r--lib/libc/arch/m88k/gen/flt_rounds.c4
-rw-r--r--lib/libc/arch/mips64/gen/flt_rounds.c4
-rw-r--r--lib/libc/arch/powerpc/gen/flt_rounds.c4
-rw-r--r--lib/libc/arch/sh/gen/flt_rounds.c4
-rw-r--r--lib/libc/arch/sparc/gen/flt_rounds.c4
-rw-r--r--lib/libc/arch/sparc64/gen/flt_rounds.c4
9 files changed, 18 insertions, 18 deletions
diff --git a/lib/libc/arch/alpha/gen/flt_rounds.c b/lib/libc/arch/alpha/gen/flt_rounds.c
index bcc5a5dc749..0aed2da75aa 100644
--- a/lib/libc/arch/alpha/gen/flt_rounds.c
+++ b/lib/libc/arch/alpha/gen/flt_rounds.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: flt_rounds.c,v 1.5 2005/08/07 16:40:13 espie Exp $ */
+/* $OpenBSD: flt_rounds.c,v 1.6 2012/06/25 17:01:09 deraadt Exp $ */
/* $NetBSD: flt_rounds.c,v 1.1 1995/04/29 05:09:53 cgd Exp $ */
/*
@@ -33,7 +33,7 @@
*/
#include <sys/types.h>
-#include <machine/float.h>
+#include <float.h>
static const int map[] = {
0, /* round to zero */
diff --git a/lib/libc/arch/hppa/gen/flt_rounds.c b/lib/libc/arch/hppa/gen/flt_rounds.c
index a73f534f052..a5133c7502c 100644
--- a/lib/libc/arch/hppa/gen/flt_rounds.c
+++ b/lib/libc/arch/hppa/gen/flt_rounds.c
@@ -1,11 +1,11 @@
-/* $OpenBSD: flt_rounds.c,v 1.3 2002/10/21 18:41:05 mickey Exp $ */
+/* $OpenBSD: flt_rounds.c,v 1.4 2012/06/25 17:01:10 deraadt Exp $ */
/*
* Written by Miodrag Vallat. Public domain.
*/
#include <sys/types.h>
-#include <machine/float.h>
+#include <float.h>
static const int map[] = {
1, /* round to nearest */
diff --git a/lib/libc/arch/hppa64/gen/flt_rounds.c b/lib/libc/arch/hppa64/gen/flt_rounds.c
index 5461bfac809..fe5274863ef 100644
--- a/lib/libc/arch/hppa64/gen/flt_rounds.c
+++ b/lib/libc/arch/hppa64/gen/flt_rounds.c
@@ -1,11 +1,11 @@
-/* $OpenBSD: flt_rounds.c,v 1.1 2005/04/01 10:54:27 mickey Exp $ */
+/* $OpenBSD: flt_rounds.c,v 1.2 2012/06/25 17:01:10 deraadt Exp $ */
/*
* Written by Miodrag Vallat. Public domain.
*/
#include <sys/types.h>
-#include <machine/float.h>
+#include <float.h>
static const int map[] = {
1, /* round to nearest */
diff --git a/lib/libc/arch/m88k/gen/flt_rounds.c b/lib/libc/arch/m88k/gen/flt_rounds.c
index 5dbe4c20b85..3f5e3231e04 100644
--- a/lib/libc/arch/m88k/gen/flt_rounds.c
+++ b/lib/libc/arch/m88k/gen/flt_rounds.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: flt_rounds.c,v 1.3 2005/08/07 16:40:14 espie Exp $ */
+/* $OpenBSD: flt_rounds.c,v 1.4 2012/06/25 17:01:11 deraadt Exp $ */
/*
* Written by J.T. Conklin, Apr 10, 1995
@@ -6,7 +6,7 @@
*/
#include <sys/types.h>
-#include <machine/float.h>
+#include <float.h>
/*
* Ported to 88k (Nivas Madhur)
diff --git a/lib/libc/arch/mips64/gen/flt_rounds.c b/lib/libc/arch/mips64/gen/flt_rounds.c
index 32c5273936e..6351de0df69 100644
--- a/lib/libc/arch/mips64/gen/flt_rounds.c
+++ b/lib/libc/arch/mips64/gen/flt_rounds.c
@@ -1,11 +1,11 @@
-/* $OpenBSD: flt_rounds.c,v 1.2 2005/08/07 16:40:15 espie Exp $ */
+/* $OpenBSD: flt_rounds.c,v 1.3 2012/06/25 17:01:11 deraadt Exp $ */
/*
* Written by J.T. Conklin, Apr 11, 1995
* Public domain.
*/
#include <sys/types.h>
-#include <machine/float.h>
+#include <float.h>
static const int map[] = {
1, /* round to nearest */
diff --git a/lib/libc/arch/powerpc/gen/flt_rounds.c b/lib/libc/arch/powerpc/gen/flt_rounds.c
index 1d1b0a1153e..643fbe3b704 100644
--- a/lib/libc/arch/powerpc/gen/flt_rounds.c
+++ b/lib/libc/arch/powerpc/gen/flt_rounds.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: flt_rounds.c,v 1.3 2002/05/08 20:36:16 drahn Exp $ */
+/* $OpenBSD: flt_rounds.c,v 1.4 2012/06/25 17:01:11 deraadt Exp $ */
/* $NetBSD: flt_rounds.c,v 1.5 2001/05/25 12:14:05 simonb Exp $ */
/*
@@ -33,7 +33,7 @@
*/
#include <sys/types.h>
-#include <machine/float.h>
+#include <float.h>
static const int map[] = {
diff --git a/lib/libc/arch/sh/gen/flt_rounds.c b/lib/libc/arch/sh/gen/flt_rounds.c
index e05754f4434..67687ef74a9 100644
--- a/lib/libc/arch/sh/gen/flt_rounds.c
+++ b/lib/libc/arch/sh/gen/flt_rounds.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: flt_rounds.c,v 1.2 2006/11/14 09:51:25 otto Exp $ */
+/* $OpenBSD: flt_rounds.c,v 1.3 2012/06/25 17:01:11 deraadt Exp $ */
/*
* Copyright (c) 2006 Miodrag Vallat.
*
@@ -17,7 +17,7 @@
*/
#include <sys/types.h>
-#include <machine/float.h>
+#include <float.h>
#include <machine/ieeefp.h>
static const int rndmap[] = {
diff --git a/lib/libc/arch/sparc/gen/flt_rounds.c b/lib/libc/arch/sparc/gen/flt_rounds.c
index f471067bcb9..ab80b2e137b 100644
--- a/lib/libc/arch/sparc/gen/flt_rounds.c
+++ b/lib/libc/arch/sparc/gen/flt_rounds.c
@@ -1,11 +1,11 @@
-/* $OpenBSD: flt_rounds.c,v 1.5 2007/10/27 20:02:59 miod Exp $ */
+/* $OpenBSD: flt_rounds.c,v 1.6 2012/06/25 17:01:11 deraadt Exp $ */
/*
* Written by J.T. Conklin, Apr 10, 1995
* Public domain.
*/
#include <sys/types.h>
-#include <machine/float.h>
+#include <float.h>
static const int map[] = {
1, /* round to nearest */
diff --git a/lib/libc/arch/sparc64/gen/flt_rounds.c b/lib/libc/arch/sparc64/gen/flt_rounds.c
index 7bc2ff3ed5c..b4f1a312a9f 100644
--- a/lib/libc/arch/sparc64/gen/flt_rounds.c
+++ b/lib/libc/arch/sparc64/gen/flt_rounds.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: flt_rounds.c,v 1.2 2007/10/27 20:03:00 miod Exp $ */
+/* $OpenBSD: flt_rounds.c,v 1.3 2012/06/25 17:01:11 deraadt Exp $ */
/* $NetBSD: flt_rounds.c,v 1.1 1998/09/11 04:56:23 eeh Exp $ */
/*
@@ -7,7 +7,7 @@
*/
#include <sys/types.h>
-#include <machine/float.h>
+#include <float.h>
static const int map[] = {
1, /* round to nearest */