summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1999-01-31 15:28:48 +0000
committerJim Meyering <jim@meyering.net>1999-01-31 15:28:48 +0000
commit3f9c40bdcbbca93cb93704b98f154f9408c34217 (patch)
treea2cf02672a392e3ceea5e4ca5fe44a05aa92c1ba /lib
parent3b1dbb8f30998b307db335c547b5e5d23fbe3af8 (diff)
downloadcoreutils-3f9c40bdcbbca93cb93704b98f154f9408c34217.tar.xz
Protoize.
Diffstat (limited to 'lib')
-rw-r--r--lib/strtod.c6
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;