From 36af8b651375dd07b489384f6f6847c80c2531ce Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Thu, 8 Oct 1998 17:04:13 -0600 Subject: [PATCH] backport: libiberty.h (xexit): Change decl to use modern GCC attribute to indicate exit does not return. * Merge devo and egcs include directories. 1998-08-03 Jason Molenda (jsm@bugshack.cygnus.com) * libiberty.h (xexit): Change decl to use modern GCC attribute to indicate exit does not return. From-SVN: r22942 --- include/ChangeLog | 13 +++++++++++++ include/libiberty.h | 3 +-- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/include/ChangeLog b/include/ChangeLog index c79b2ed7475..923c79ed39a 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -1,7 +1,20 @@ +Fri Oct 9 00:02:03 1998 Jeffrey A Law (law@cygnus.com) + + * Merge devo and egcs include directories. + Sat Sep 5 12:16:33 1998 Jeffrey A Law (law@cygnus.com) * getopt.h, obstack.h: Updated from gcc. +1998-08-03 Jason Molenda (jsm@bugshack.cygnus.com) + + * libiberty.h (xexit): Change decl to use modern GCC attribute + to indicate exit does not return. + +Mon Jun 1 13:48:32 1998 Jason Molenda (crash@bugshack.cygnus.com) + + * obstack.h: Update to latest FSF version. + Tue Feb 24 13:05:02 1998 Doug Evans * dis-asm.h (disassemble_info): Member `symbol' renamed to `symbols' diff --git a/include/libiberty.h b/include/libiberty.h index 951e156569a..6fb29d21223 100644 --- a/include/libiberty.h +++ b/include/libiberty.h @@ -111,8 +111,7 @@ extern int xatexit PARAMS ((void (*fn) (void))); #ifndef __GNUC__ extern void xexit PARAMS ((int status)); #else -typedef void libiberty_voidfn PARAMS ((int status)); -__volatile__ libiberty_voidfn xexit; +void xexit PARAMS ((int status)) __attribute__ ((noreturn)); #endif /* Set the program name used by xmalloc. */ -- 2.30.2