aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKazu Hirata <kazu@cs.umass.edu>2003-10-23 19:30:47 +0000
committerKazu Hirata <kazu@gcc.gnu.org>2003-10-23 19:30:47 +0000
commit846d57c7d15fd00829732a1fc0b503c05980de49 (patch)
tree03308c536ef33fbdd23c6195d5fce6b108d4b64f
parente11f4e4d0bfb8f927cb3a6c81374e86b02f3ce8b (diff)
downloadgcc-846d57c7d15fd00829732a1fc0b503c05980de49.zip
gcc-846d57c7d15fd00829732a1fc0b503c05980de49.tar.gz
gcc-846d57c7d15fd00829732a1fc0b503c05980de49.tar.bz2
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
-rw-r--r--gcc/ChangeLog2
-rw-r--r--gcc/config/h8300/clzhi2.c2
-rw-r--r--gcc/config/h8300/ctzhi2.c2
-rw-r--r--gcc/config/h8300/fixunssfsi.c2
-rw-r--r--gcc/config/h8300/parityhi2.c2
-rw-r--r--gcc/config/h8300/popcounthi2.c2
6 files changed, 11 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index f0e3d0f..fbe40e1 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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.
diff --git a/gcc/config/h8300/clzhi2.c b/gcc/config/h8300/clzhi2.c
index 2d75470..46d689b 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 e84c9ff..82ca726 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 3668458..06120ba 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 7b16fec..44e2387 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 f954587..b2a5604 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)
{