diff options
author | robert <robert@FreeBSD.org> | 2002-08-15 09:25:04 +0000 |
---|---|---|
committer | robert <robert@FreeBSD.org> | 2002-08-15 09:25:04 +0000 |
commit | 043ed1f5818681c934c1f781e5c12082c79b771c (patch) | |
tree | b37b20746e471ae334376a361c54543969e8e35f /lib/libc/stdlib/strtod.c | |
parent | ef527f85f2070c1b71c9b8a28ed1d2b937e93ef0 (diff) | |
download | FreeBSD-src-043ed1f5818681c934c1f781e5c12082c79b771c.zip FreeBSD-src-043ed1f5818681c934c1f781e5c12082c79b771c.tar.gz |
- Add the 'restrict' qualifier to the function prototypes and
definitions of the functions that convert strings to numbers
and are defined by IEEE Std 1003-1.2001.
- Use ANSI-C function definitions for all of the functions
mentioned above plus strtouq and strtoq.
- Update the prototypes in the manual pages.
Diffstat (limited to 'lib/libc/stdlib/strtod.c')
-rw-r--r-- | lib/libc/stdlib/strtod.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/stdlib/strtod.c b/lib/libc/stdlib/strtod.c index 9295583..73765ba 100644 --- a/lib/libc/stdlib/strtod.c +++ b/lib/libc/stdlib/strtod.c @@ -1191,9 +1191,9 @@ static double tinytens[] = { 1e-16, 1e-32 }; double strtod #ifdef KR_headers - (s00, se) CONST char *s00; char **se; + (s00, se) CONST char *__restrict s00; char **__restrict se; #else - (CONST char *s00, char **se) + (CONST char *__restrict s00, char **__restrict se) #endif { int bb2, bb5, bbe, bd2, bd5, bbbits, bs2, c, dsign, |