aboutsummaryrefslogtreecommitdiff
path: root/gdb/tm-i960.h
diff options
context:
space:
mode:
authorKen Raeburn <raeburn@cygnus>1992-09-22 22:02:54 +0000
committerKen Raeburn <raeburn@cygnus>1992-09-22 22:02:54 +0000
commit4a48760d8d986659e480b308497b4db105c86ef7 (patch)
treeaf63def88e4a43d54f3f33bf31c6c09beac6663a /gdb/tm-i960.h
parent5e9a7f007702007ff3a79ebb0f72175355187fbf (diff)
downloadgdb-4a48760d8d986659e480b308497b4db105c86ef7.zip
gdb-4a48760d8d986659e480b308497b4db105c86ef7.tar.gz
gdb-4a48760d8d986659e480b308497b4db105c86ef7.tar.bz2
fix repeated ext_format_i960 local decls so sun4 cc accepts it
Diffstat (limited to 'gdb/tm-i960.h')
-rw-r--r--gdb/tm-i960.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/gdb/tm-i960.h b/gdb/tm-i960.h
index bbe4d89..d7f74bd 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 \