aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/inc
diff options
context:
space:
mode:
authorJason Merrill <jason@yorick.cygnus.com>1998-07-22 17:54:26 +0000
committerJason Merrill <jason@gcc.gnu.org>1998-07-22 13:54:26 -0400
commit268ae1b0eec92061f4be235d03390a52a02ba140 (patch)
treec808d50f780eb8ea4a2cd7309187c1022ea0d0b7 /gcc/cp/inc
parent49bcd085f2cb4060a59ea6552282a6b3bb07f138 (diff)
downloadgcc-268ae1b0eec92061f4be235d03390a52a02ba140.zip
gcc-268ae1b0eec92061f4be235d03390a52a02ba140.tar.gz
gcc-268ae1b0eec92061f4be235d03390a52a02ba140.tar.bz2
exception: Change terminate and unexpected to ().
* inc/exception: Change terminate and unexpected to (). * parse.y (named_class_head_sans_basetype_defn): A named_class_head_sans_basetype followed by '{' or ':' is a defn. From-SVN: r21342
Diffstat (limited to 'gcc/cp/inc')
-rw-r--r--gcc/cp/inc/exception4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/cp/inc/exception b/gcc/cp/inc/exception
index c684b7e..9954146 100644
--- a/gcc/cp/inc/exception
+++ b/gcc/cp/inc/exception
@@ -29,9 +29,9 @@ typedef void (*terminate_handler) ();
typedef void (*unexpected_handler) ();
terminate_handler set_terminate (terminate_handler);
-void terminate (void) __attribute__ ((__noreturn__));
+void terminate () __attribute__ ((__noreturn__));
unexpected_handler set_unexpected (unexpected_handler);
-void unexpected (void) __attribute__ ((__noreturn__));
+void unexpected () __attribute__ ((__noreturn__));
bool uncaught_exception ();
#ifdef __HONOR_STD