summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJeff Law <law@gcc.gnu.org>1998-10-08 17:04:13 -0600
committerJeff Law <law@gcc.gnu.org>1998-10-08 17:04:13 -0600
commit36af8b651375dd07b489384f6f6847c80c2531ce (patch)
treea543b3e1cb4e56567b28439490652126fb8bc021 /include
parentca6b370dc88ac9d5767684408e7e1010744fbd26 (diff)
downloadgcc-36af8b651375dd07b489384f6f6847c80c2531ce.tar.gz
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
Diffstat (limited to 'include')
-rw-r--r--include/ChangeLog13
-rw-r--r--include/libiberty.h3
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 <devans@canuck.cygnus.com>
* 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. */