This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
[patch] gas/config/tc-*.c: Remove local prototypes of atof_ieee.
- From: Kazu Hirata <kazu at cs dot umass dot edu>
- To: binutils at sources dot redhat dot com
- Date: Wed, 19 Nov 2003 20:15:19 -0500 (EST)
- Subject: [patch] gas/config/tc-*.c: Remove local prototypes of atof_ieee.
Hi,
Attached is a patch to remove local prototypes of atof_ieee.
gas/as.h has a global prototype of atof_ieee, and every one of these
tc-*.c file includes as.h. I can't think of any reason to keep local
prototypes.
Built each touched port with no new warning. OK to apply?
Kazu Hirata
2003-11-19 Kazu Hirata <kazu@cs.umass.edu>
* config/tc-arc.c: Remove a local prototype of atof_ieee.
* config/tc-ip2k.c: Likewise.
* config/tc-iq2000.c: Likewise.
* config/tc-tic30.c: Remove a comment.
Index: tc-arc.c
===================================================================
RCS file: /cvs/src/src/gas/config/tc-arc.c,v
retrieving revision 1.22
diff -u -r1.22 tc-arc.c
--- tc-arc.c 21 May 2003 12:07:55 -0000 1.22
+++ tc-arc.c 20 Nov 2003 00:51:43 -0000
@@ -1546,7 +1546,6 @@
LITTLENUM_TYPE words[MAX_LITTLENUMS];
LITTLENUM_TYPE *wordP;
char *t;
- char * atof_ieee PARAMS ((char *, int, LITTLENUM_TYPE *));
switch (type)
{
Index: tc-ip2k.c
===================================================================
RCS file: /cvs/src/src/gas/config/tc-ip2k.c,v
retrieving revision 1.7
diff -u -r1.7 tc-ip2k.c
--- tc-ip2k.c 14 Jul 2003 10:06:06 -0000 1.7
+++ tc-ip2k.c 20 Nov 2003 00:51:43 -0000
@@ -326,7 +326,6 @@
LITTLENUM_TYPE words [MAX_LITTLENUMS];
LITTLENUM_TYPE *wordP;
char * t;
- char * atof_ieee PARAMS ((char *, int, LITTLENUM_TYPE *));
switch (type)
{
Index: tc-iq2000.c
===================================================================
RCS file: /cvs/src/src/gas/config/tc-iq2000.c,v
retrieving revision 1.2
diff -u -r1.2 tc-iq2000.c
--- tc-iq2000.c 21 May 2003 12:07:55 -0000 1.2
+++ tc-iq2000.c 20 Nov 2003 00:51:44 -0000
@@ -887,7 +887,6 @@
int prec;
LITTLENUM_TYPE words [MAX_LITTLENUMS];
char * t;
- char * atof_ieee ();
switch (type)
{
Index: tc-tic30.c
===================================================================
RCS file: /cvs/src/src/gas/config/tc-tic30.c,v
retrieving revision 1.10
diff -u -r1.10 tc-tic30.c
--- tc-tic30.c 12 Dec 2002 21:34:52 -0000 1.10
+++ tc-tic30.c 20 Nov 2003 00:51:44 -0000
@@ -1637,7 +1637,6 @@
char *token;
char keepval;
unsigned long value;
- /* char *atof_ieee (); */
float float_value;
debug ("In md_atof()\n");
debug ("precision = %c\n", what_statement_type);