diff options
author | dkf <dkf@noemail.net> | 2007-04-16 13:36:33 (GMT) |
---|---|---|
committer | dkf <dkf@noemail.net> | 2007-04-16 13:36:33 (GMT) |
commit | 456b27b65d6a747ee743d375a87577bc18563b23 (patch) | |
tree | 88437ef1c667959b00a3b86ee638cc3a94300aab /compat/fixstrtod.c | |
parent | c6c59eac39637cd6e0216f003ce2a25559a1d714 (diff) | |
download | tcl-456b27b65d6a747ee743d375a87577bc18563b23.zip tcl-456b27b65d6a747ee743d375a87577bc18563b23.tar.gz tcl-456b27b65d6a747ee743d375a87577bc18563b23.tar.bz2 |
Complete the purge of K&R function definitions from manually-written code.
FossilOrigin-Name: 645aed2fcdcd55ca81df269a4ea262eeca2b9ff2
Diffstat (limited to 'compat/fixstrtod.c')
-rw-r--r-- | compat/fixstrtod.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/compat/fixstrtod.c b/compat/fixstrtod.c index 165b7d1..a779e22 100644 --- a/compat/fixstrtod.c +++ b/compat/fixstrtod.c @@ -10,7 +10,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: fixstrtod.c,v 1.2 1998/09/14 18:39:44 stanton Exp $ + * RCS: @(#) $Id: fixstrtod.c,v 1.3 2007/04/16 13:36:34 dkf Exp $ */ #include <stdio.h> @@ -22,12 +22,12 @@ * somes systems (e.g. SunOS 4.1.4) stdlib.h doesn't declare strtod. */ -extern double strtod(); +extern double strtod(char *, char **); double -fixstrtod(string, endPtr) - char *string; - char **endPtr; +fixstrtod( + char *string, + char **endPtr) { double d; d = strtod(string, endPtr); |