summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1997-08-01 21:36:34 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1997-08-01 21:36:34 +0000
commit769eaaba4214d08cc695463f7d2824617ff1f005 (patch)
tree69c060fdd8e77410191f5bfe210beec397e8c9bc
parent8b542be04f44ace75db3085327c2135a1d102c8a (diff)
pull in protos
-rw-r--r--lib/libc/arch/alpha/gen/flt_rounds.c5
-rw-r--r--lib/libc/arch/arm32/gen/flt_rounds.c3
-rw-r--r--lib/libc/arch/mips/gen/flt_rounds.c5
-rw-r--r--lib/libc/arch/mvme88k/gen/flt_rounds.c4
-rw-r--r--lib/libc/arch/ns32k/gen/flt_rounds.c5
-rw-r--r--lib/libc/arch/powerpc/gen/flt_rounds.c5
-rw-r--r--lib/libc/arch/sparc/gen/flt_rounds.c5
7 files changed, 25 insertions, 7 deletions
diff --git a/lib/libc/arch/alpha/gen/flt_rounds.c b/lib/libc/arch/alpha/gen/flt_rounds.c
index 7f93068a71b..124e6413937 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.3 1996/11/13 21:20:11 niklas Exp $ */
+/* $OpenBSD: flt_rounds.c,v 1.4 1997/08/01 21:36:25 deraadt Exp $ */
/* $NetBSD: flt_rounds.c,v 1.1 1995/04/29 05:09:53 cgd Exp $ */
/*
@@ -33,10 +33,11 @@
*/
#if defined(LIBC_SCCS) && !defined(lint)
-static char *rcsid = "$OpenBSD: flt_rounds.c,v 1.3 1996/11/13 21:20:11 niklas Exp $";
+static char *rcsid = "$OpenBSD: flt_rounds.c,v 1.4 1997/08/01 21:36:25 deraadt Exp $";
#endif /* LIBC_SCCS and not lint */
#include <sys/types.h>
+#include <machine/float.h>
static const int map[] = {
0, /* round to zero */
diff --git a/lib/libc/arch/arm32/gen/flt_rounds.c b/lib/libc/arch/arm32/gen/flt_rounds.c
index 1c2c5a6ea2b..ea370502546 100644
--- a/lib/libc/arch/arm32/gen/flt_rounds.c
+++ b/lib/libc/arch/arm32/gen/flt_rounds.c
@@ -30,10 +30,11 @@
*/
#if defined(LIBC_SCCS) && !defined(lint)
-static char *rcsid = "$OpenBSD: flt_rounds.c,v 1.2 1996/08/19 08:11:33 tholo Exp $";
+static char *rcsid = "$OpenBSD: flt_rounds.c,v 1.3 1997/08/01 21:36:27 deraadt Exp $";
#endif /* LIBC_SCCS and not lint */
#include <sys/types.h>
+#include <machine/float.h>
static const int map[] = {
1, /* round to nearest */
diff --git a/lib/libc/arch/mips/gen/flt_rounds.c b/lib/libc/arch/mips/gen/flt_rounds.c
index cd7673bd639..289ed7cad3a 100644
--- a/lib/libc/arch/mips/gen/flt_rounds.c
+++ b/lib/libc/arch/mips/gen/flt_rounds.c
@@ -3,8 +3,11 @@
* Public domain.
*/
+#include <sys/types.h>
+#include <machine/float.h>
+
#if defined(LIBC_SCCS) && !defined(lint)
-static char rcsid[] = "$OpenBSD: flt_rounds.c,v 1.2 1996/08/19 08:15:53 tholo Exp $";
+static char rcsid[] = "$OpenBSD: flt_rounds.c,v 1.3 1997/08/01 21:36:28 deraadt Exp $";
#endif /* LIBC_SCCS and not lint */
static const int map[] = {
diff --git a/lib/libc/arch/mvme88k/gen/flt_rounds.c b/lib/libc/arch/mvme88k/gen/flt_rounds.c
index ba33e2bca5b..c3f6e4f2c58 100644
--- a/lib/libc/arch/mvme88k/gen/flt_rounds.c
+++ b/lib/libc/arch/mvme88k/gen/flt_rounds.c
@@ -2,6 +2,10 @@
* Written by J.T. Conklin, Apr 10, 1995
* Public domain.
*/
+
+#include <sys/types.h>
+#include <machine/float.h>
+
/*
* Ported to 88k (Nivas Madhur)
*/
diff --git a/lib/libc/arch/ns32k/gen/flt_rounds.c b/lib/libc/arch/ns32k/gen/flt_rounds.c
index 8929d531d1d..3795f2f348e 100644
--- a/lib/libc/arch/ns32k/gen/flt_rounds.c
+++ b/lib/libc/arch/ns32k/gen/flt_rounds.c
@@ -3,8 +3,11 @@
* Public domain.
*/
+#include <sys/types.h>
+#include <machine/float.h>
+
#if defined(LIBC_SCCS) && !defined(lint)
-static char rcsid[] = "$OpenBSD: flt_rounds.c,v 1.2 1996/08/19 08:16:40 tholo Exp $";
+static char rcsid[] = "$OpenBSD: flt_rounds.c,v 1.3 1997/08/01 21:36:31 deraadt Exp $";
#endif /* LIBC_SCCS and not lint */
static const int map[] = {
diff --git a/lib/libc/arch/powerpc/gen/flt_rounds.c b/lib/libc/arch/powerpc/gen/flt_rounds.c
index 30158a53eba..759516534db 100644
--- a/lib/libc/arch/powerpc/gen/flt_rounds.c
+++ b/lib/libc/arch/powerpc/gen/flt_rounds.c
@@ -1,4 +1,7 @@
-/* $NetBSD$ */
+/* $OpenBSD: flt_rounds.c,v 1.2 1997/08/01 21:36:32 deraadt Exp $ */
+
+#include <sys/types.h>
+#include <machine/float.h>
static const int map[] = {
1, /* round to nearest */
diff --git a/lib/libc/arch/sparc/gen/flt_rounds.c b/lib/libc/arch/sparc/gen/flt_rounds.c
index 5ad6519650b..ceef95ebe93 100644
--- a/lib/libc/arch/sparc/gen/flt_rounds.c
+++ b/lib/libc/arch/sparc/gen/flt_rounds.c
@@ -3,8 +3,11 @@
* Public domain.
*/
+#include <sys/types.h>
+#include <machine/float.h>
+
#if defined(LIBC_SCCS) && !defined(lint)
-static char rcsid[] = "$OpenBSD: flt_rounds.c,v 1.2 1996/08/19 08:17:28 tholo Exp $";
+static char rcsid[] = "$OpenBSD: flt_rounds.c,v 1.3 1997/08/01 21:36:33 deraadt Exp $";
#endif /* LIBC_SCCS and not lint */
static const int map[] = {