From 08e3a3523f04e9ac351fd36d396d0f33d4009459 Mon Sep 17 00:00:00 2001
From: ghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>
Date: Wed, 11 Apr 2001 15:53:46 +0000
Subject: [PATCH] 	* output.h (assemble_real): Declare if REAL_VALUE_TYPE
 is defined.

	* real.h (ereal_atof, real_value_truncate, target_isnan,
	target_isinf, target_negative, assemble_real, debug_real): Delete
	redundant prototypes.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41257 138bc75d-0d04-0410-961f-82ee72b054a4
---
 gcc/ChangeLog |  6 ++++++
 gcc/output.h  |  2 +-
 gcc/real.h    | 17 +----------------
 3 files changed, 8 insertions(+), 17 deletions(-)

diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 1f48401e117f..9271319a21f8 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,11 @@
 2001-04-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
 
+	* output.h (assemble_real): Declare if REAL_VALUE_TYPE is defined.
+
+	* real.h (ereal_atof, real_value_truncate, target_isnan,
+	target_isinf, target_negative, assemble_real, debug_real): Delete
+	redundant prototypes.
+
 	* Makefile.in (ifcvt.o): Depend on toplev.h.
 
 	* c-semantics.c: Include expr.h.
diff --git a/gcc/output.h b/gcc/output.h
index 468313cce3f3..93badde43fab 100644
--- a/gcc/output.h
+++ b/gcc/output.h
@@ -311,7 +311,7 @@ extern void assemble_name		PARAMS ((FILE *, const char *));
 extern int assemble_integer		PARAMS ((rtx, int, int));
 extern int assemble_eh_integer		PARAMS ((rtx, int, int));
 
-#ifdef EMUSHORT
+#ifdef REAL_VALUE_TYPE
 /* Assemble the floating-point constant D into an object of size MODE.  */
 extern void assemble_real		PARAMS ((REAL_VALUE_TYPE,
 					       enum machine_mode));
diff --git a/gcc/real.h b/gcc/real.h
index 970c24c324d1..58cae6ffed4a 100644
--- a/gcc/real.h
+++ b/gcc/real.h
@@ -141,7 +141,6 @@ extern void earith		PARAMS ((REAL_VALUE_TYPE *, int,
 				       REAL_VALUE_TYPE *, REAL_VALUE_TYPE *));
 extern REAL_VALUE_TYPE etrunci	PARAMS ((REAL_VALUE_TYPE));
 extern REAL_VALUE_TYPE etruncui	PARAMS ((REAL_VALUE_TYPE));
-extern REAL_VALUE_TYPE ereal_atof PARAMS ((const char *, enum machine_mode));
 extern REAL_VALUE_TYPE ereal_negate PARAMS ((REAL_VALUE_TYPE));
 extern HOST_WIDE_INT efixi	PARAMS ((REAL_VALUE_TYPE));
 extern unsigned HOST_WIDE_INT efixui PARAMS ((REAL_VALUE_TYPE));
@@ -176,8 +175,6 @@ extern REAL_VALUE_TYPE ereal_from_double PARAMS ((HOST_WIDE_INT *));
 /* These return REAL_VALUE_TYPE: */
 #define REAL_VALUE_RNDZINT(x) (etrunci (x))
 #define REAL_VALUE_UNSIGNED_RNDZINT(x) (etruncui (x))
-extern REAL_VALUE_TYPE real_value_truncate	PARAMS ((enum machine_mode,
-							REAL_VALUE_TYPE));
 #define REAL_VALUE_TRUNCATE(mode, x)  real_value_truncate (mode, x)
 
 /* These return HOST_WIDE_INT: */
@@ -370,7 +367,6 @@ extern double ldexp PARAMS ((double, int));
 #ifndef REAL_VALUE_ATOF
 #if 1
 /* Use real.c to convert decimal numbers to binary, ... */
-extern REAL_VALUE_TYPE ereal_atof PARAMS ((const char *, enum machine_mode));
 #define REAL_VALUE_ATOF(x, s) ereal_atof (x, s)
 /* Could use ereal_atof here for hexadecimal floats too, but real_hex_to_f
    is OK and it uses faster native fp arithmetic.  */
@@ -430,10 +426,6 @@ extern REAL_VALUE_TYPE real_value_truncate PARAMS ((enum machine_mode,
 #define REAL_VALUE_NEGATIVE(x) (target_negative (x))
 #endif
 
-extern int target_isnan			PARAMS ((REAL_VALUE_TYPE));
-extern int target_isinf			PARAMS ((REAL_VALUE_TYPE));
-extern int target_negative		PARAMS ((REAL_VALUE_TYPE));
-
 /* Determine whether a floating-point value X is minus 0. */
 #ifndef REAL_VALUE_MINUS_ZERO
 #define REAL_VALUE_MINUS_ZERO(x) ((x) == 0 && REAL_VALUE_NEGATIVE (x))
@@ -487,13 +479,6 @@ extern int target_isnan		PARAMS ((REAL_VALUE_TYPE));
 extern int target_isinf		PARAMS ((REAL_VALUE_TYPE));
 extern int target_negative	PARAMS ((REAL_VALUE_TYPE));
 extern void debug_real		PARAMS ((REAL_VALUE_TYPE));
+extern REAL_VALUE_TYPE ereal_atof PARAMS ((const char *, enum machine_mode));
 
-/* In varasm.c */
-extern void assemble_real		PARAMS ((REAL_VALUE_TYPE,
-					       enum machine_mode));
-extern void debug_real			PARAMS ((REAL_VALUE_TYPE));
-
-/* In varasm.c */
-extern void assemble_real		PARAMS ((REAL_VALUE_TYPE,
-					       enum machine_mode));
 #endif /* Not REAL_H_INCLUDED */
-- 
GitLab