diff options
author | stefanf <stefanf@FreeBSD.org> | 2011-10-16 10:14:33 +0000 |
---|---|---|
committer | stefanf <stefanf@FreeBSD.org> | 2011-10-16 10:14:33 +0000 |
commit | abe2037bc726a33e03448bc38a9a492f8ebb16ec (patch) | |
tree | 039d0cef6ae6f9c891efc2c22fc9d6701fbce463 /contrib/gcc/config | |
parent | d4ce73cfd5e3bb23defffd765cdb9baca1e1ee68 (diff) | |
download | FreeBSD-src-abe2037bc726a33e03448bc38a9a492f8ebb16ec.zip FreeBSD-src-abe2037bc726a33e03448bc38a9a492f8ebb16ec.tar.gz |
Adjust posix_memalign() prototype to match what we define in stdlib.h for
C++ compilation.
PR: standards/147210
Diffstat (limited to 'contrib/gcc/config')
-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 744ac6d..0d39d8d 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 * |