diff options
| author | paolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-06-24 13:46:58 +0000 |
|---|---|---|
| committer | paolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-06-24 13:46:58 +0000 |
| commit | 524f76d3c571a569e164c5c6da545295591180cf (patch) | |
| tree | 04d50b35d57d53ef0eacc73129df98801f4b8ad9 /libstdc++-v3/include/c_std | |
| parent | 6c0a4a256f26bb7db6603aa79a65f64b3a13c282 (diff) | |
| download | ppe42-gcc-524f76d3c571a569e164c5c6da545295591180cf.tar.gz ppe42-gcc-524f76d3c571a569e164c5c6da545295591180cf.zip | |
2013-06-24 Bernd Edlinger <bernd.edlinger@hotmail.de>
PR libstdc++/57691
* include/c_global/cstdlib (atexit, at_quick_exit): If !_GLIBCC_HOSTED,
declare per the letter of the C++ standard in terms of void.
* include/c_std/cstdlib: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@200371 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/include/c_std')
| -rw-r--r-- | libstdc++-v3/include/c_std/cstdlib | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libstdc++-v3/include/c_std/cstdlib b/libstdc++-v3/include/c_std/cstdlib index fa3e0ead977..ab7b030da86 100644 --- a/libstdc++-v3/include/c_std/cstdlib +++ b/libstdc++-v3/include/c_std/cstdlib @@ -55,11 +55,11 @@ namespace std { extern "C" void abort(void) throw () _GLIBCXX_NORETURN; - extern "C" int atexit(void (*)()) throw (); + extern "C" int atexit(void (*)(void)) throw (); extern "C" void exit(int) throw () _GLIBCXX_NORETURN; #if __cplusplus >= 201103L # ifdef _GLIBCXX_HAVE_AT_QUICK_EXIT - extern "C" int at_quick_exit(void (*)()) throw (); + extern "C" int at_quick_exit(void (*)(void)) throw (); # endif # ifdef _GLIBCXX_HAVE_QUICK_EXIT extern "C" void quick_exit(int) throw() _GLIBCXX_NORETURN; |

