From 846d57c7d15fd00829732a1fc0b503c05980de49 Mon Sep 17 00:00:00 2001 From: Kazu Hirata Date: Thu, 23 Oct 2003 19:30:47 +0000 Subject: [PATCH] clzhi2.c: Fix warnings. * 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 | 2 +- gcc/config/h8300/clzhi2.c | 2 ++ gcc/config/h8300/ctzhi2.c | 2 ++ gcc/config/h8300/fixunssfsi.c | 2 ++ gcc/config/h8300/parityhi2.c | 2 ++ gcc/config/h8300/popcounthi2.c | 2 ++ 6 files changed, 11 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index f0e3d0f362c4..fbe40e1d5ee5 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,4 +1,4 @@ -2003-10-21 Kazu Hirata +2003-10-23 Kazu Hirata * config/h8300/clzhi2.c: Fix warnings. * config/h8300/ctzhi2.c: Likewise. diff --git a/gcc/config/h8300/clzhi2.c b/gcc/config/h8300/clzhi2.c index 2d75470247c3..46d689b59cd6 100644 --- a/gcc/config/h8300/clzhi2.c +++ b/gcc/config/h8300/clzhi2.c @@ -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) { diff --git a/gcc/config/h8300/ctzhi2.c b/gcc/config/h8300/ctzhi2.c index e84c9ff2ea86..82ca726251f7 100644 --- a/gcc/config/h8300/ctzhi2.c +++ b/gcc/config/h8300/ctzhi2.c @@ -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) { diff --git a/gcc/config/h8300/fixunssfsi.c b/gcc/config/h8300/fixunssfsi.c index 3668458d223a..06120ba4905d 100644 --- a/gcc/config/h8300/fixunssfsi.c +++ b/gcc/config/h8300/fixunssfsi.c @@ -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) { diff --git a/gcc/config/h8300/parityhi2.c b/gcc/config/h8300/parityhi2.c index 7b16fec595e6..44e2387184a4 100644 --- a/gcc/config/h8300/parityhi2.c +++ b/gcc/config/h8300/parityhi2.c @@ -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) { diff --git a/gcc/config/h8300/popcounthi2.c b/gcc/config/h8300/popcounthi2.c index f9545872550c..b2a560412fcd 100644 --- a/gcc/config/h8300/popcounthi2.c +++ b/gcc/config/h8300/popcounthi2.c @@ -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) { -- 2.47.3