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

Hi,

Attached is a patch to remove duplicate prototypes.

Both obj-ieee.c and tc-h8300.c include as.h, which in turn includes
read.h, which define cons, s_ignore, s_globl.

Built h8300 port with no new warning.  OK to apply?

Kazu Hirata

2003-11-19  Kazu Hirata  <kazu@cs.umass.edu>

	* config/obj-ieee.c: Remove duplicate prototypes.
	* config/tc-h8300.c: Likewise.

Index: obj-ieee.c
===================================================================
RCS file: /cvs/src/src/gas/config/obj-ieee.c,v
retrieving revision 1.8
diff -u -r1.8 obj-ieee.c
--- obj-ieee.c	20 Nov 2003 00:01:55 -0000	1.8
+++ obj-ieee.c	20 Nov 2003 03:53:42 -0000
@@ -467,10 +467,6 @@
   input_line_pointer = p;
 }
 
-void cons ();
-void s_ignore ();
-
-void s_globl ();
 const pseudo_typeS obj_pseudo_table[] =
 {
   {"section", obj_ieee_section, 0},
Index: tc-h8300.c
===================================================================
RCS file: /cvs/src/src/gas/config/tc-h8300.c,v
retrieving revision 1.38
diff -u -r1.38 tc-h8300.c
--- tc-h8300.c	20 Nov 2003 03:31:36 -0000	1.38
+++ tc-h8300.c	20 Nov 2003 03:53:42 -0000
@@ -43,7 +43,6 @@
 const char line_comment_chars[] = "#";
 const char line_separator_chars[] = "";
 
-void cons (int);
 void sbranch (int);
 void h8300hmode (int);
 void h8300smode (int);

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

* Re: [patch] gas/config/*.c: Remove more duplicate prototypes.
  2003-11-20  4:00 [patch] gas/config/*.c: Remove more duplicate prototypes Kazu Hirata
@ 2003-11-20  4:05 ` Alan Modra
  0 siblings, 0 replies; 2+ messages in thread
From: Alan Modra @ 2003-11-20  4:05 UTC (permalink / raw)
  To: Kazu Hirata; +Cc: binutils

On Wed, Nov 19, 2003 at 11:00:48PM -0500, Kazu Hirata wrote:
> 	* config/obj-ieee.c: Remove duplicate prototypes.
> 	* config/tc-h8300.c: Likewise.

OK.  Obvious even.  :)  Please consider this sort of patch as
pre-approved.

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre

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

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

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-11-20  4:00 [patch] gas/config/*.c: Remove more duplicate prototypes Kazu Hirata
2003-11-20  4:05 ` 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).