fix repeated ext_format_i960 local decls so sun4 cc accepts it

This commit is contained in:
Ken Raeburn 1992-09-22 22:02:54 +00:00
parent 5e9a7f0077
commit 4a48760d8d
1 changed files with 2 additions and 4 deletions

View File

@ -173,10 +173,10 @@ extern CORE_ADDR saved_pc_after_call ();
/* Convert data from raw format for register REGNUM
to virtual format for register REGNUM. */
extern struct ext_format ext_format_i960;
#define REGISTER_CONVERT_TO_VIRTUAL(REGNUM,FROM,TO) \
{ \
extern struct ext_format ext_format_i960; \
\
if ((REGNUM) >= FP0_REGNUM) \
ieee_extended_to_double (&ext_format_i960, (FROM), (double *)(TO)); \
else \
@ -188,8 +188,6 @@ extern CORE_ADDR saved_pc_after_call ();
#define REGISTER_CONVERT_TO_RAW(REGNUM,FROM,TO) \
{ \
extern struct ext_format ext_format_i960; \
\
if ((REGNUM) >= FP0_REGNUM) \
double_to_ieee_extended (&ext_format_i960, (double *)(FROM), (TO)); \
else \