public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* [patch] gas/config/tc-*.c: Remove local prototypes of atof_ieee.
@ 2003-11-20  1:15 Kazu Hirata
  2003-11-20  1:33 ` Alan Modra
  0 siblings, 1 reply; 2+ messages in thread
From: Kazu Hirata @ 2003-11-20  1:15 UTC (permalink / raw)
  To: binutils

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);

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [patch] gas/config/tc-*.c: Remove local prototypes of atof_ieee.
  2003-11-20  1:15 [patch] gas/config/tc-*.c: Remove local prototypes of atof_ieee Kazu Hirata
@ 2003-11-20  1:33 ` Alan Modra
  0 siblings, 0 replies; 2+ messages in thread
From: Alan Modra @ 2003-11-20  1:33 UTC (permalink / raw)
  To: Kazu Hirata; +Cc: binutils

On Wed, Nov 19, 2003 at 08:15:19PM -0500, Kazu Hirata wrote:
> 	* 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.

OK.

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-11-20  1:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-11-20  1:15 [patch] gas/config/tc-*.c: Remove local prototypes of atof_ieee Kazu Hirata
2003-11-20  1:33 ` Alan Modra

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).