diff options
author | 2013-01-15 05:44:41 +0000 | |
---|---|---|
committer | 2013-01-15 05:44:41 +0000 | |
commit | 5f6e34d313503ccb84657da4a8c641da70dcdb8f (patch) | |
tree | 7f7918368c7b8938f82b6a5b1a535d2fbd3c35c8 | |
parent | Fix typos in comments and change the syntactic sugar of a function to (diff) | |
download | wireguard-openbsd-5f6e34d313503ccb84657da4a8c641da70dcdb8f.tar.xz wireguard-openbsd-5f6e34d313503ccb84657da4a8c641da70dcdb8f.zip |
Don't pull <math.h> just because it can return HUGE_VAL in the
corner cases. OK millert@.
-rw-r--r-- | lib/libc/stdlib/strtod.3 | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/libc/stdlib/strtod.3 b/lib/libc/stdlib/strtod.3 index 0066cc02f32..cc9104065fb 100644 --- a/lib/libc/stdlib/strtod.3 +++ b/lib/libc/stdlib/strtod.3 @@ -29,9 +29,9 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" $OpenBSD: strtod.3,v 1.16 2012/09/16 17:54:03 jmc Exp $ +.\" $OpenBSD: strtod.3,v 1.17 2013/01/15 05:44:41 martynas Exp $ .\" -.Dd $Mdocdate: September 16 2012 $ +.Dd $Mdocdate: January 15 2013 $ .Dt STRTOD 3 .Os .Sh NAME @@ -42,7 +42,6 @@ .Tn ASCII string to double, float or long double .Sh SYNOPSIS -.Fd #include <math.h> .Fd #include <stdlib.h> .Ft double .Fn strtod "const char *nptr" "char **endptr" |