From 511c2cf0cc1e350e6a933efb5d6f08b61991ceb9 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Wed, 27 Aug 2003 22:58:51 +0000 Subject: Add throw specs to the functions, remove (void) from the functions llvm-svn: 8167 --- llvm/runtime/GCCLibraries/libexception/Exception.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'llvm/runtime/GCCLibraries/libexception') diff --git a/llvm/runtime/GCCLibraries/libexception/Exception.h b/llvm/runtime/GCCLibraries/libexception/Exception.h index 1e82f2ffbe3..4d886cd9203 100644 --- a/llvm/runtime/GCCLibraries/libexception/Exception.h +++ b/llvm/runtime/GCCLibraries/libexception/Exception.h @@ -42,8 +42,8 @@ enum { // Language independent exception handling API... // extern "C" { - bool __llvm_eh_has_uncaught_exception(void); - void *__llvm_eh_current_uncaught_exception_type(unsigned HandlerType); + bool __llvm_eh_has_uncaught_exception() throw(); + void *__llvm_eh_current_uncaught_exception_type(unsigned HandlerType) throw(); } #endif -- cgit v1.2.3