From: Fred Fish Date: Tue, 30 Jun 1992 23:50:04 +0000 (+0000) Subject: * hppa.c: Apply John's standard fix to avoid "empty translation X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=fbc2750e397fd888f0f0a3971fee0e9e3b36ba6c;p=binutils-gdb.git * hppa.c: Apply John's standard fix to avoid "empty translation unit" warnings from some ANSI-C compilers. --- 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 */