Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/gpl3/gcc.old/dist/gcc/config/i386 Apply r1.2 from o...



details:   https://anonhg.NetBSD.org/src/rev/f5094dad819c
branches:  trunk
changeset: 332314:f5094dad819c
user:      joerg <joerg%NetBSD.org@localhost>
date:      Mon Sep 15 16:29:18 2014 +0000

description:
Apply r1.2 from our GCC 4.8 version of the same file:

Kill the "throw()" on a forward declaration for posix_memalign (it does
not match our base declaration and may cause warnings).

diffstat:

 external/gpl3/gcc.old/dist/gcc/config/i386/pmm_malloc.h |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r edbd5a93bf8b -r f5094dad819c external/gpl3/gcc.old/dist/gcc/config/i386/pmm_malloc.h
--- a/external/gpl3/gcc.old/dist/gcc/config/i386/pmm_malloc.h   Mon Sep 15 11:49:01 2014 +0000
+++ b/external/gpl3/gcc.old/dist/gcc/config/i386/pmm_malloc.h   Mon Sep 15 16:29:18 2014 +0000
@@ -31,7 +31,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 *



Home | Main Index | Thread Index | Old Index