[65131] trunk/base/src/darwintracelib1.0/darwintrace.c
raimue at macports.org
raimue at macports.org
Mon Mar 22 09:31:20 PDT 2010
Revision: 65131
http://trac.macports.org/changeset/65131
Author: raimue at macports.org
Date: 2010-03-22 09:31:19 -0700 (Mon, 22 Mar 2010)
Log Message:
-----------
darwintracelib1.0: Fix compilation with clang
Modified Paths:
--------------
trunk/base/src/darwintracelib1.0/darwintrace.c
Modified: trunk/base/src/darwintracelib1.0/darwintrace.c
===================================================================
--- trunk/base/src/darwintracelib1.0/darwintrace.c 2010-03-22 16:19:07 UTC (rev 65130)
+++ trunk/base/src/darwintracelib1.0/darwintrace.c 2010-03-22 16:31:19 UTC (rev 65131)
@@ -252,6 +252,7 @@
* This function checks that envp contains the global variables we had when the
* library was loaded and modifies it if it doesn't.
*/
+__attribute__((always_inline))
inline char* const* __darwintrace_restore_env(char* const envp[]) {
/* allocate the strings. */
/* we don't care about the leak here because we're going to call execve,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100322/7d7a5210/attachment.html>
More information about the macports-changes
mailing list