Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Jan 2012 18:22:25 +0000 (UTC)
From:      Stefan Farfeleder <stefanf@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org
Subject:   svn commit: r230310 - stable/8/contrib/gcc/config/i386
Message-ID:  <201201181822.q0IIMQ4C051655@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: stefanf
Date: Wed Jan 18 18:22:25 2012
New Revision: 230310
URL: http://svn.freebsd.org/changeset/base/230310

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

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

Modified: stable/8/contrib/gcc/config/i386/pmm_malloc.h
==============================================================================
--- stable/8/contrib/gcc/config/i386/pmm_malloc.h	Wed Jan 18 15:59:23 2012	(r230309)
+++ stable/8/contrib/gcc/config/i386/pmm_malloc.h	Wed Jan 18 18:22:25 2012	(r230310)
@@ -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 *



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201201181822.q0IIMQ4C051655>