fix repeated ext_format_i960 local decls so sun4 cc accepts it
authorKen Raeburn <raeburn@cygnus>
Tue, 22 Sep 1992 22:02:54 +0000 (22:02 +0000)
committerKen Raeburn <raeburn@cygnus>
Tue, 22 Sep 1992 22:02:54 +0000 (22:02 +0000)
gdb/tm-i960.h

index bbe4d89c90c2c6aaae96c09d386fc62cf3f9f079..d7f74bd64e0f18eb25080103b89312cd422e22cb 100644 (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                                  \