summaryrefslogtreecommitdiff
path: root/darwin_stop_world.c
diff options
context:
space:
mode:
authorivmai <ivmai>2009-10-23 10:23:41 +0000
committerIvan Maidanski <ivmai@mail.ru>2011-07-26 21:06:51 +0400
commit457a7d5ba48508cecb17228fe84c5c757a5ae1c0 (patch)
tree666092e2a83f8ed6e2714e52d27ae1b2ae952afa /darwin_stop_world.c
parentc8252d8fcf63dc3c5844bd52c8f61f2952dc4e38 (diff)
downloadbdwgc-457a7d5ba48508cecb17228fe84c5c757a5ae1c0.tar.gz
2009-10-23 Ivan Maidanski <ivmai@mail.ru>
* darwin_stop_world.c (GC_darwin_register_mach_handler_thread): Use GC_INNER for the function definition. * include/private/darwin_stop_world.h (GC_darwin_register_mach_handler_thread): Remove the prototype. * include/private/darwin_stop_world.h: Add copyright header. * os_dep.c (GC_darwin_register_mach_handler_thread): Use GC_INNER for the function prototype. * include/private/gc_priv.h (NDEBUG): Explicitly define if NO_DEBUGGING and not GC_ASSERTIONS (before the standard headers inclusion).
Diffstat (limited to 'darwin_stop_world.c')
-rw-r--r--darwin_stop_world.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/darwin_stop_world.c b/darwin_stop_world.c
index 5194af27..9f9f7be2 100644
--- a/darwin_stop_world.c
+++ b/darwin_stop_world.c
@@ -666,7 +666,7 @@ GC_INNER void GC_start_world(void)
# endif
}
-void GC_darwin_register_mach_handler_thread(mach_port_t thread)
+GC_INNER void GC_darwin_register_mach_handler_thread(mach_port_t thread)
{
GC_mach_handler_thread = thread;
GC_use_mach_handler_thread = 1;