This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
[patch] gas/config/*.c: Remove more duplicate prototypes.
- From: Kazu Hirata <kazu at cs dot umass dot edu>
- To: binutils at sources dot redhat dot com
- Date: Wed, 19 Nov 2003 23:00:48 -0500 (EST)
- Subject: [patch] gas/config/*.c: Remove more duplicate prototypes.
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);