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/9c18cf11c5c0
branches:  trunk
changeset: 802456:9c18cf11c5c0
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 4405d2e8747b -r 9c18cf11c5c0 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