OSDN Git Service

Add missing return types
authorcrux <crux@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 29 Nov 1999 14:48:30 +0000 (14:48 +0000)
committercrux <crux@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 29 Nov 1999 14:48:30 +0000 (14:48 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30705 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/fold-const.c

index d07e23c..73c8da5 100644 (file)
@@ -1,3 +1,9 @@
+1999-11-29  Bernd Schmidt  <bernds@cygnus.co.uk>
+
+       * fold-const.c [TARGET_FLOAT_FORMAT != IEEE_FLOAT_FORMAT]
+       (target_isinf, target_isnan, target_negative): Add return types to
+       function definitions.
+
 1999-11-29  Bruce Korb  <autogen@linuxbox.com>
 
        * fixinc/fixincl.c(process): don't skip GLIBC files any more.
index e48f0e2..5ce6212 100644 (file)
@@ -858,6 +858,7 @@ target_negative (x)
 /* Let's assume other float formats don't have infinity.
    (This can be overridden by redefining REAL_VALUE_ISINF.)  */
 
+int
 target_isinf (x)
      REAL_VALUE_TYPE x;
 {
@@ -867,6 +868,7 @@ target_isinf (x)
 /* Let's assume other float formats don't have NaNs.
    (This can be overridden by redefining REAL_VALUE_ISNAN.)  */
 
+int
 target_isnan (x)
      REAL_VALUE_TYPE x;
 {
@@ -876,6 +878,7 @@ target_isnan (x)
 /* Let's assume other float formats don't have minus zero.
    (This can be overridden by redefining REAL_VALUE_NEGATIVE.)  */
 
+int
 target_negative (x)
      REAL_VALUE_TYPE x;
 {