svn commit: r229123 - stable/9/contrib/gcc/config/i386

Stefan Farfeleder stefanf at FreeBSD.org
Sat Dec 31 15:49:04 UTC 2011


Author: stefanf
Date: Sat Dec 31 15:49:04 2011
New Revision: 229123
URL: http://svn.freebsd.org/changeset/base/229123

Log:
  MFC r226430:
  Adjust posix_memalign() prototype to match what we define in stdlib.h for
  C++ compilation.

Modified:
  stable/9/contrib/gcc/config/i386/pmm_malloc.h
Directory Properties:
  stable/9/contrib/gcc/   (props changed)

Modified: stable/9/contrib/gcc/config/i386/pmm_malloc.h
==============================================================================
--- stable/9/contrib/gcc/config/i386/pmm_malloc.h	Sat Dec 31 15:46:36 2011	(r229122)
+++ stable/9/contrib/gcc/config/i386/pmm_malloc.h	Sat Dec 31 15:49:04 2011	(r229123)
@@ -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 *


More information about the svn-src-stable-9 mailing list