* exception.cc (std::abort): Mark as noreturn.

From-SVN: r49717
This commit is contained in:
Tom Tromey 2002-02-13 00:29:42 +00:00 committed by Tom Tromey
parent 845d6a2f5a
commit cf3c6c99b8
2 changed files with 6 additions and 2 deletions

View file

@ -1,3 +1,7 @@
2002-02-12 Tom Tromey <tromey@redhat.com>
* exception.cc (std::abort): Mark as noreturn.
2002-02-12 Adam Megacz <adam@xwt.org> 2002-02-12 Adam Megacz <adam@xwt.org>
* java/lang/Win32Process.java: Filled in a placeholder * java/lang/Win32Process.java: Filled in a placeholder

View file

@ -1,6 +1,6 @@
// Functions for Exception Support for Java. // Functions for Exception Support for Java.
/* Copyright (C) 1998, 1999, 2001 Free Software Foundation /* Copyright (C) 1998, 1999, 2001, 2002 Free Software Foundation
This file is part of libgcj. This file is part of libgcj.
@ -23,7 +23,7 @@ details. */
// stdlib.h's abort(). // stdlib.h's abort().
namespace std namespace std
{ {
void abort () __attribute__ ((__noreturn__)) void abort ()
{ {
::abort (); ::abort ();
} }