prototype (minor code refactoring)
* include/private/gc_locks.h (GC_noop1): Remove prototype (since
already declared in gc_priv.h).
* pthread_support.c (GC_pause): Replace varargs GC_noop invocation
(with a single argument) to GC_noop1.
# include "atomic_ops.h"
# endif
- GC_API void GC_CALL GC_noop1(word);
# ifdef PCR
# include <base/PCR_Base.h>
# include <th/PCR_Th.h>
__asm__ __volatile__ (" " : : : "memory");
# else
/* Something that's unlikely to be optimized away. */
- GC_noop(++dummy);
+ GC_noop1(++dummy);
# endif
}
}