artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ec2f453
)
Pull in <float.h> instead of declaring __flt_rounds() locally
author
guenther
<guenther@openbsd.org>
Sun, 18 Oct 2015 19:30:39 +0000
(19:30 +0000)
committer
guenther
<guenther@openbsd.org>
Sun, 18 Oct 2015 19:30:39 +0000
(19:30 +0000)
ok miod@ jsg@
lib/libc/arch/arm/gen/flt_rounds.c
patch
|
blob
|
history
diff --git
a/lib/libc/arch/arm/gen/flt_rounds.c
b/lib/libc/arch/arm/gen/flt_rounds.c
index
7effc44
..
820a07a
100644
(file)
--- a/
lib/libc/arch/arm/gen/flt_rounds.c
+++ b/
lib/libc/arch/arm/gen/flt_rounds.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: flt_rounds.c,v 1.
3 2006/02/06 17:03:17 jmc Exp $
*/
+/* $OpenBSD: flt_rounds.c,v 1.
4 2015/10/18 19:30:39 guenther Exp $
*/
/* $NetBSD: flt_rounds.c,v 1.1 2000/12/29 20:13:48 bjh21 Exp $ */
/*
@@
-34,6
+34,7
@@
#include <sys/types.h>
#include <ieeefp.h>
+#include <float.h>
static const int map[] = {
1, /* round to nearest */
@@
-68,8
+69,6
@@
static const int map[] = {
* soft float FP libraries.
*/
-int __flt_rounds(void);
-
int
__flt_rounds()
{