What is the correct prototype of md_atof?
Kazu Hirata
kazu@cs.umass.edu
Wed Nov 19 23:25:00 GMT 2003
Hi,
gas/tc.h has
char *md_atof PARAMS ((int what_statement_type, char *literalP, int *sizeP));
but so many gas/config/tc-*.c has
char *
md_atof (type, litP, sizeP)
int type; <- Notice it's int!!
char *litP;
int *sizeP;
I noticed this problem while converting tc-h8300.c into ISO-C. To me
"char" seems to be correct here. What do others think?
Kazu Hirata
More information about the Binutils
mailing list