summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPascal Stumpf <pascal@cvs.openbsd.org>2012-05-30 11:58:34 +0000
committerPascal Stumpf <pascal@cvs.openbsd.org>2012-05-30 11:58:34 +0000
commit6ba47ab77800e8e6b1c136de1a196c496a05699e (patch)
tree206178374c3ee209d63f2ad70fbbc0c2696bc7c6
parentf9cd2a2bc81d7782602c5ea41b55da945c6d1837 (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.h2
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 *