This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[patch] h8300: Fix warnings.


Hi,

Attached is a patch to fix warnings.  Committed as obvious.

Kazu Hirata

2003-10-21  Kazu Hirata  <kazu@cs.umass.edu>

	* config/h8300/clzhi2.c: Fix warnings.
	* config/h8300/ctzhi2.c: Likewise.
	* config/h8300/fixunssfsi.c: Likewise.
	* config/h8300/parityhi2.c: Likewise.
	* config/h8300/popcounthi2.c: Likewise.

Index: clzhi2.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/h8300/clzhi2.c,v
retrieving revision 1.2
diff -u -r1.2 clzhi2.c
--- clzhi2.c	27 Sep 2003 04:48:17 -0000	1.2
+++ clzhi2.c	21 Oct 2003 11:40:18 -0000
@@ -27,6 +27,8 @@
 the Free Software Foundation, 59 Temple Place - Suite 330,
 Boston, MA 02111-1307, USA.  */
 
+int __clzhi2 (unsigned short x);
+
 int
 __clzhi2 (unsigned short x)
 {
Index: ctzhi2.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/h8300/ctzhi2.c,v
retrieving revision 1.2
diff -u -r1.2 ctzhi2.c
--- ctzhi2.c	27 Sep 2003 04:48:17 -0000	1.2
+++ ctzhi2.c	21 Oct 2003 11:40:18 -0000
@@ -27,6 +27,8 @@
 the Free Software Foundation, 59 Temple Place - Suite 330,
 Boston, MA 02111-1307, USA.  */
 
+int __ctzhi2 (unsigned short x);
+
 int
 __ctzhi2 (unsigned short x)
 {
Index: fixunssfsi.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/h8300/fixunssfsi.c,v
retrieving revision 1.4
diff -u -r1.4 fixunssfsi.c
--- fixunssfsi.c	8 Feb 2003 18:27:12 -0000	1.4
+++ fixunssfsi.c	21 Oct 2003 11:40:18 -0000
@@ -33,6 +33,8 @@
    the H8/300, that's in lib1funcs.asm, for H8/300H and H8S, it's here.  */
 
 #ifndef __H8300__
+long __fixunssfsi (float a);
+
 long
 __fixunssfsi (float a)
 {
Index: parityhi2.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/h8300/parityhi2.c,v
retrieving revision 1.2
diff -u -r1.2 parityhi2.c
--- parityhi2.c	27 Sep 2003 04:48:17 -0000	1.2
+++ parityhi2.c	21 Oct 2003 11:40:19 -0000
@@ -27,6 +27,8 @@
 the Free Software Foundation, 59 Temple Place - Suite 330,
 Boston, MA 02111-1307, USA.  */
 
+int __parityhi2 (unsigned short x);
+
 int
 __parityhi2 (unsigned short x)
 {
Index: popcounthi2.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/h8300/popcounthi2.c,v
retrieving revision 1.2
diff -u -r1.2 popcounthi2.c
--- popcounthi2.c	27 Sep 2003 04:48:17 -0000	1.2
+++ popcounthi2.c	21 Oct 2003 11:40:19 -0000
@@ -27,6 +27,8 @@
 the Free Software Foundation, 59 Temple Place - Suite 330,
 Boston, MA 02111-1307, USA.  */
 
+int __popcounthi2 (unsigned short x);
+
 int
 __popcounthi2 (unsigned short x)
 {


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]