[Mono-dev] [PATCH 12/12] null-gc: Fix function name

Andreas Färber andreas.faerber at web.de
Fri Mar 26 09:30:05 EDT 2010


Fixes the build for --with-gc=none.

Cc: Mark Probst <mark.probst at gmail.com>

This commit is licensed under the MIT X11 license.
---
 mono/metadata/ChangeLog |    6 ++++++
 mono/metadata/null-gc.c |    2 +-
 2 files changed, 7 insertions(+), 1 deletions(-)

diff --git a/mono/metadata/ChangeLog b/mono/metadata/ChangeLog
index 4c8dd51..271539a 100644
--- a/mono/metadata/ChangeLog
+++ b/mono/metadata/ChangeLog
@@ -1,5 +1,11 @@
 2010-03-26  Andreas Färber  <andreas.faerber at web.de>
 
+	* null-gc.c (mono_gc_invoke_with_gc_lock): Fix function name.
+
+	Code is contributed under MIT/X11 license.
+
+2010-03-26  Andreas Färber  <andreas.faerber at web.de>
+
 	* console-unix.c (sigcont_handler, sigwinch_handler): Don't assume
 	SA_SIGINFO-style signals, fix the build on platforms without (Haiku).
 
diff --git a/mono/metadata/null-gc.c b/mono/metadata/null-gc.c
index 39f4980..9731d8e 100644
--- a/mono/metadata/null-gc.c
+++ b/mono/metadata/null-gc.c
@@ -263,7 +263,7 @@ mono_gc_get_write_barrier (void)
 }
 
 void*
-mono_gc_invoke_without_moving (MonoGCLockedCallbackFunc func, void *data)
+mono_gc_invoke_with_gc_lock (MonoGCLockedCallbackFunc func, void *data)
 {
 	return func (data);
 }
-- 
1.6.5.3



More information about the Mono-devel-list mailing list