diff options
author | 2015-10-18 19:30:39 +0000 | |
---|---|---|
committer | 2015-10-18 19:30:39 +0000 | |
commit | a2104120eb5b78b7d3de7861f7b112c9644879db (patch) | |
tree | bedb3f095b67f27ed20f658dc0bf8e8c41bdef0d /lib/libc | |
parent | fix lmtp delivery regressions introduced in previous: (diff) | |
download | wireguard-openbsd-a2104120eb5b78b7d3de7861f7b112c9644879db.tar.xz wireguard-openbsd-a2104120eb5b78b7d3de7861f7b112c9644879db.zip |
Pull in <float.h> instead of declaring __flt_rounds() locally
ok miod@ jsg@
Diffstat (limited to 'lib/libc')
-rw-r--r-- | lib/libc/arch/arm/gen/flt_rounds.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/libc/arch/arm/gen/flt_rounds.c b/lib/libc/arch/arm/gen/flt_rounds.c index 7effc441e2a..820a07a8b48 100644 --- 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() { |