summaryrefslogtreecommitdiff
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
commitaa8a4dc8a44f620ad72aa93b9af8a362659f1f1f (patch)
tree2fff53b43f5efe2b7c2a4880993dd88c0165d253
parente9721c2f5a8ea905fba888055ca0fd0767f8873d (diff)
downloadgnulib-aa8a4dc8a44f620ad72aa93b9af8a362659f1f1f.tar.gz
Protoize.
-rw-r--r--lib/strtod.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/strtod.c b/lib/strtod.c
index 81e9f8a9d7..10edb5cfe5 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;