diff --git a/runtime/GCCLibraries/crtend/Exception.h b/runtime/GCCLibraries/crtend/Exception.h index 1e82f2ffbe3..4d886cd9203 100644 --- a/runtime/GCCLibraries/crtend/Exception.h +++ b/runtime/GCCLibraries/crtend/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 diff --git a/runtime/GCCLibraries/libexception/Exception.h b/runtime/GCCLibraries/libexception/Exception.h index 1e82f2ffbe3..4d886cd9203 100644 --- a/runtime/GCCLibraries/libexception/Exception.h +++ b/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