aboutsummaryrefslogtreecommitdiff
path: root/bfd
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
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')
-rw-r--r--bfd/ChangeLog5
-rw-r--r--bfd/hppa.c5
2 files changed, 9 insertions, 1 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index bc7173f..a88b765 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,8 @@
+Tue Jun 30 16:49:12 1992 Fred Fish (fnf@cygnus.com)
+
+ * hppa.c: Apply John's standard fix to avoid "empty translation
+ unit" warnings from some ANSI-C compilers.
+
Thu Jun 25 04:39:25 1992 John Gilmore (gnu at cygnus.com)
* hosts/solaris2.h: Configure same as sysv4.
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 */