clzhi2.c: Fix warnings.
authorKazu Hirata <kazu@cs.umass.edu>
Thu, 23 Oct 2003 19:30:47 +0000 (19:30 +0000)
committerKazu Hirata <kazu@gcc.gnu.org>
Thu, 23 Oct 2003 19:30:47 +0000 (19:30 +0000)
* 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.

From-SVN: r72864

gcc/ChangeLog
gcc/config/h8300/clzhi2.c
gcc/config/h8300/ctzhi2.c
gcc/config/h8300/fixunssfsi.c
gcc/config/h8300/parityhi2.c
gcc/config/h8300/popcounthi2.c

index f0e3d0f..fbe40e1 100644 (file)
@@ -1,4 +1,4 @@
-2003-10-21  Kazu Hirata  <kazu@cs.umass.edu>
+2003-10-23  Kazu Hirata  <kazu@cs.umass.edu>
 
        * config/h8300/clzhi2.c: Fix warnings.
        * config/h8300/ctzhi2.c: Likewise.
index 2d75470..46d689b 100644 (file)
@@ -27,6 +27,8 @@ along with GCC; see the file COPYING.  If not, write to
 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 e84c9ff..82ca726 100644 (file)
@@ -27,6 +27,8 @@ along with GCC; see the file COPYING.  If not, write to
 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 3668458..06120ba 100644 (file)
@@ -33,6 +33,8 @@ Boston, MA 02111-1307, USA.  */
    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 7b16fec..44e2387 100644 (file)
@@ -27,6 +27,8 @@ along with GCC; see the file COPYING.  If not, write to
 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 f954587..b2a5604 100644 (file)
@@ -27,6 +27,8 @@ along with GCC; see the file COPYING.  If not, write to
 the Free Software Foundation, 59 Temple Place - Suite 330,
 Boston, MA 02111-1307, USA.  */
 
+int __popcounthi2 (unsigned short x);
+
 int
 __popcounthi2 (unsigned short x)
 {