summaryrefslogtreecommitdiff
path: root/gcc/real.h
diff options
context:
space:
mode:
authorghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>2001-04-11 15:53:46 +0000
committerghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>2001-04-11 15:53:46 +0000
commit08e3a3523f04e9ac351fd36d396d0f33d4009459 (patch)
tree150c74791c49f894957185655856458fe0b5efbe /gcc/real.h
parent2ade676bb8f37e7d1f6f285e6be78fdb96a60f32 (diff)
downloadgcc-08e3a3523f04e9ac351fd36d396d0f33d4009459.tar.gz
* 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
Diffstat (limited to 'gcc/real.h')
-rw-r--r--gcc/real.h17
1 files changed, 1 insertions, 16 deletions
diff --git a/gcc/real.h b/gcc/real.h
index 970c24c324d..58cae6ffed4 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 */