diff options
author | Stefan Farfeleder <stefanf@FreeBSD.org> | 2011-10-16 10:14:33 +0000 |
---|---|---|
committer | Stefan Farfeleder <stefanf@FreeBSD.org> | 2011-10-16 10:14:33 +0000 |
commit | 0c6023083538120abb9e88b94c3c89f1ce2d8f23 (patch) | |
tree | 039d0cef6ae6f9c891efc2c22fc9d6701fbce463 /contrib | |
parent | 49e3600b9cf8494ecdaea20a0fb8c7910e103c9a (diff) | |
download | src-0c6023083538120abb9e88b94c3c89f1ce2d8f23.tar.gz src-0c6023083538120abb9e88b94c3c89f1ce2d8f23.zip |
Adjust posix_memalign() prototype to match what we define in stdlib.h for
C++ compilation.
PR: standards/147210
Notes
Notes:
svn path=/head/; revision=226430
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/gcc/config/i386/pmm_malloc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/gcc/config/i386/pmm_malloc.h b/contrib/gcc/config/i386/pmm_malloc.h index 744ac6d41cc1..0d39d8db1aef 100644 --- a/contrib/gcc/config/i386/pmm_malloc.h +++ b/contrib/gcc/config/i386/pmm_malloc.h @@ -34,7 +34,7 @@ #ifndef __cplusplus extern int posix_memalign (void **, size_t, size_t); #else -extern "C" int posix_memalign (void **, size_t, size_t) throw (); +extern "C" int posix_memalign (void **, size_t, size_t); #endif static __inline void * |