aboutsummaryrefslogtreecommitdiff
path: root/gas/atof-generic.c
diff options
context:
space:
mode:
authorKazu Hirata <kazu@codesourcery.com>2003-11-21 01:52:16 +0000
committerKazu Hirata <kazu@codesourcery.com>2003-11-21 01:52:16 +0000
commit73ee5e4c0ff04c02e128f721fa63468cc687c14e (patch)
treee2be67b8b7f5934926556028c88ac1f89cd3a32e /gas/atof-generic.c
parent2d2255b58e98053e88fd7d4e9be0c98567d8c739 (diff)
downloadgdb-73ee5e4c0ff04c02e128f721fa63468cc687c14e.zip
gdb-73ee5e4c0ff04c02e128f721fa63468cc687c14e.tar.gz
gdb-73ee5e4c0ff04c02e128f721fa63468cc687c14e.tar.bz2
* app.c: Convert to ISO-C.
* as.h: Likewise. * atof-generic.c: Likewise. * bignum-copy.c: Likewise. * bignum.h: Likewise. * cgen.c: Likewise. * cgen.h: Likewise. * cond.c: Likewise.
Diffstat (limited to 'gas/atof-generic.c')
-rw-r--r--gas/atof-generic.c18
1 files changed, 7 insertions, 11 deletions
diff --git a/gas/atof-generic.c b/gas/atof-generic.c
index 6b6c7b2..8c599b5 100644
--- a/gas/atof-generic.c
+++ b/gas/atof-generic.c
@@ -32,7 +32,7 @@
#endif
#ifdef TRACE
-static void flonum_print PARAMS ((const FLONUM_TYPE *));
+static void flonum_print (const FLONUM_TYPE *);
#endif
#define ASSUME_DECIMAL_MARK_IS_DOT
@@ -75,16 +75,12 @@ static void flonum_print PARAMS ((const FLONUM_TYPE *));
*/
int
-atof_generic (address_of_string_pointer,
- string_of_decimal_marks,
- string_of_decimal_exponent_marks,
- address_of_generic_floating_point_number)
- /* return pointer to just AFTER number we read. */
- char **address_of_string_pointer;
- /* At most one per number. */
- const char *string_of_decimal_marks;
- const char *string_of_decimal_exponent_marks;
- FLONUM_TYPE *address_of_generic_floating_point_number;
+atof_generic (/* return pointer to just AFTER number we read. */
+ char **address_of_string_pointer,
+ /* At most one per number. */
+ const char *string_of_decimal_marks,
+ const char *string_of_decimal_exponent_marks,
+ FLONUM_TYPE *address_of_generic_floating_point_number)
{
int return_value; /* 0 means OK. */
char *first_digit;