diff --git a/libjava/ChangeLog b/libjava/ChangeLog index 0d0402339d5..99a6b9d3f84 100644 --- a/libjava/ChangeLog +++ b/libjava/ChangeLog @@ -1,3 +1,7 @@ +2002-02-12 Tom Tromey + + * exception.cc (std::abort): Mark as noreturn. + 2002-02-12 Adam Megacz * java/lang/Win32Process.java: Filled in a placeholder diff --git a/libjava/exception.cc b/libjava/exception.cc index 5d1f28886d5..176e2488d0b 100644 --- a/libjava/exception.cc +++ b/libjava/exception.cc @@ -1,6 +1,6 @@ // 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. @@ -23,7 +23,7 @@ details. */ // stdlib.h's abort(). namespace std { - void abort () + __attribute__ ((__noreturn__)) void abort () { ::abort (); }