diff options
author | Pascal Stumpf <pascal@cvs.openbsd.org> | 2012-05-30 11:58:34 +0000 |
---|---|---|
committer | Pascal Stumpf <pascal@cvs.openbsd.org> | 2012-05-30 11:58:34 +0000 |
commit | 6ba47ab77800e8e6b1c136de1a196c496a05699e (patch) | |
tree | 206178374c3ee209d63f2ad70fbbc0c2696bc7c6 | |
parent | f9cd2a2bc81d7782602c5ea41b55da945c6d1837 (diff) |
Avoid errors with g++ -pedantic by removing throw() from the redeclaration of
posix_memalign().
ok matthew@ guenther@
-rw-r--r-- | gnu/gcc/gcc/config/i386/pmm_malloc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/gcc/gcc/config/i386/pmm_malloc.h b/gnu/gcc/gcc/config/i386/pmm_malloc.h index 744ac6d41cc..0d39d8db1ae 100644 --- a/gnu/gcc/gcc/config/i386/pmm_malloc.h +++ b/gnu/gcc/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 * |