aboutsummaryrefslogtreecommitdiff
path: root/bfd/hppa.c
diff options
context:
space:
mode:
authorFred Fish <fnf@specifix.com>1992-06-30 23:50:04 +0000
committerFred Fish <fnf@specifix.com>1992-06-30 23:50:04 +0000
commitfbc2750e397fd888f0f0a3971fee0e9e3b36ba6c (patch)
tree8286b2b03721a6357614ae6bf77105acc0cb88e7 /bfd/hppa.c
parent41a2a528b99d2e90c777c00a66142cb3ff5cb62b (diff)
downloadgdb-fbc2750e397fd888f0f0a3971fee0e9e3b36ba6c.zip
gdb-fbc2750e397fd888f0f0a3971fee0e9e3b36ba6c.tar.gz
gdb-fbc2750e397fd888f0f0a3971fee0e9e3b36ba6c.tar.bz2
* hppa.c: Apply John's standard fix to avoid "empty translation
unit" warnings from some ANSI-C compilers.
Diffstat (limited to 'bfd/hppa.c')
-rw-r--r--bfd/hppa.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/bfd/hppa.c b/bfd/hppa.c
index e376e23..9d6d4d7 100644
--- a/bfd/hppa.c
+++ b/bfd/hppa.c
@@ -636,4 +636,7 @@ _do_getb64, _do_putb64, _do_getb32, _do_putb32, _do_getb16, _do_putb16, /* hdrs
JUMP_TABLE(hppa)
};
-#endif
+#else /* notdef hp9000s800 */
+/* Prevent "empty translation unit" warnings from the idiots at X3J11. */
+static char ansi_c_idiots = 69;
+#endif /* hp9000s800 */