From fbc2750e397fd888f0f0a3971fee0e9e3b36ba6c Mon Sep 17 00:00:00 2001 From: Fred Fish Date: Tue, 30 Jun 1992 23:50:04 +0000 Subject: [PATCH] * hppa.c: Apply John's standard fix to avoid "empty translation unit" warnings from some ANSI-C compilers. --- bfd/ChangeLog | 5 +++++ bfd/hppa.c | 5 ++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/bfd/ChangeLog b/bfd/ChangeLog index bc7173fb99d..a88b765ebc3 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 e376e236c13..9d6d4d784d0 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 */