diff options
author | Jim Meyering <jim@meyering.net> | 1999-01-31 15:28:48 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1999-01-31 15:28:48 +0000 |
commit | 3f9c40bdcbbca93cb93704b98f154f9408c34217 (patch) | |
tree | a2cf02672a392e3ceea5e4ca5fe44a05aa92c1ba /lib/strtod.c | |
parent | 3b1dbb8f30998b307db335c547b5e5d23fbe3af8 (diff) | |
download | coreutils-3f9c40bdcbbca93cb93704b98f154f9408c34217.tar.xz |
Protoize.
Diffstat (limited to 'lib/strtod.c')
-rw-r--r-- | lib/strtod.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/strtod.c b/lib/strtod.c index 81e9f8a9d..10edb5cfe 100644 --- a/lib/strtod.c +++ b/lib/strtod.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991, 1992, 1997 Free Software Foundation, Inc. +/* Copyright (C) 1991, 1992, 1997, 1999 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -57,9 +57,7 @@ extern int errno; /* Convert NPTR to a double. If ENDPTR is not NULL, a pointer to the character after the last one used in the number is put in *ENDPTR. */ double -strtod (nptr, endptr) - const char *nptr; - char **endptr; +strtod (const char *nptr, char **endptr) { register const char *s; short int sign; |