1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-20 11:40:18 +02:00

fix gc_register_my_thread et al fallback impls

* libguile/threads.c (GC_register_my_thread, GC_get_stack_base): Fix
  fallback impls.
This commit is contained in:
Kevin Fletcher 2011-03-31 22:16:54 +02:00 committed by Andy Wingo
parent 09b7459b49
commit 987b8160f5

View file

@ -97,7 +97,7 @@ struct GC_stack_base {
}; };
static int static int
GC_register_my_thread (struct GC_stack_base *) GC_register_my_thread (struct GC_stack_base *stack_base)
{ {
return GC_UNIMPLEMENTED; return GC_UNIMPLEMENTED;
} }
@ -153,7 +153,7 @@ get_thread_stack_base ()
#endif #endif
static int static int
GC_get_stack_base (struct GC_stack_base *) GC_get_stack_base (struct GC_stack_base *stack_base)
{ {
stack_base->mem_base = get_thread_stack_base (); stack_base->mem_base = get_thread_stack_base ();
#ifdef __ia64__ #ifdef __ia64__