summaryrefslogtreecommitdiffstats
path: root/libstdc++-v3/include/c_std/cstdlib
diff options
context:
space:
mode:
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2009-04-22 17:41:33 +0000
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2009-04-22 17:41:33 +0000
commit2f1c2b417a5b96cb59459c6f4d876bd68c0d406b (patch)
tree0654c2f6558540115574a93c5923fb3c1bc8f5f7 /libstdc++-v3/include/c_std/cstdlib
parentdbb1dd1eae7d8122e21bce4fe81a24f22fec475f (diff)
downloadppe42-gcc-2f1c2b417a5b96cb59459c6f4d876bd68c0d406b.tar.gz
ppe42-gcc-2f1c2b417a5b96cb59459c6f4d876bd68c0d406b.zip
* include/c_std/cstdlib (abort, exit, _Exit): Mark noreturn throw ().
(atexit, atoll, stroll, strtoull): Mark throw () * include/c_std/cstdio (snprintf, vsnprintf, vscanf): Mark throw (). * include/c_std/cwchar (wcstold, wcstoll, wcstoull): Mark throw (). * include/c_global/cstdlib (abort, exit, _Exit): Mark noreturn throw (). (atexit, atoll, stroll, strtoull): Mark throw () * include/c_global/cstdio (snprintf, vsnprintf, vscanf): Mark throw (). * include/c_wchar/cstdio (snprintf, vsnprintf, vscanf): Mark throw (). git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@146604 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/include/c_std/cstdlib')
-rw-r--r--libstdc++-v3/include/c_std/cstdlib14
1 files changed, 7 insertions, 7 deletions
diff --git a/libstdc++-v3/include/c_std/cstdlib b/libstdc++-v3/include/c_std/cstdlib
index ecb45a4e269..516dcab5c65 100644
--- a/libstdc++-v3/include/c_std/cstdlib
+++ b/libstdc++-v3/include/c_std/cstdlib
@@ -56,9 +56,9 @@
_GLIBCXX_BEGIN_NAMESPACE(std)
- extern "C" void abort(void);
- extern "C" int atexit(void (*)());
- extern "C" void exit(int);
+ extern "C" void abort(void) throw () _GLIBCXX_NORETURN;
+ extern "C" int atexit(void (*)()) throw ();
+ extern "C" void exit(int) throw () _GLIBCXX_NORETURN;
_GLIBCXX_END_NAMESPACE
@@ -159,7 +159,7 @@ _GLIBCXX_BEGIN_NAMESPACE(__gnu_cxx)
using ::lldiv_t;
#endif
#if _GLIBCXX_USE_C99_CHECK || _GLIBCXX_USE_C99_DYNAMIC
- extern "C" void (_Exit)(int);
+ extern "C" void (_Exit)(int) throw () _GLIBCXX_NORETURN;
#endif
#if !_GLIBCXX_USE_C99_DYNAMIC
using ::_Exit;
@@ -179,11 +179,11 @@ _GLIBCXX_BEGIN_NAMESPACE(__gnu_cxx)
#endif
#if _GLIBCXX_USE_C99_LONG_LONG_CHECK || _GLIBCXX_USE_C99_LONG_LONG_DYNAMIC
- extern "C" long long int (atoll)(const char *);
+ extern "C" long long int (atoll)(const char *) throw ();
extern "C" long long int
- (strtoll)(const char * restrict, char ** restrict, int);
+ (strtoll)(const char * restrict, char ** restrict, int) throw ();
extern "C" unsigned long long int
- (strtoull)(const char * restrict, char ** restrict, int);
+ (strtoull)(const char * restrict, char ** restrict, int) throw ();
#endif
#if !_GLIBCXX_USE_C99_LONG_LONG_DYNAMIC
using ::atoll;
OpenPOWER on IntegriCloud