From: Ken Raeburn Date: Tue, 22 Sep 1992 22:02:54 +0000 (+0000) Subject: fix repeated ext_format_i960 local decls so sun4 cc accepts it X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4a48760d8d986659e480b308497b4db105c86ef7;p=binutils-gdb.git fix repeated ext_format_i960 local decls so sun4 cc accepts it --- diff --git a/gdb/tm-i960.h b/gdb/tm-i960.h index bbe4d89c90c..d7f74bd64e0 100644 --- a/gdb/tm-i960.h +++ b/gdb/tm-i960.h @@ -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 \