summaryrefslogtreecommitdiff
path: root/misc.c
diff options
context:
space:
mode:
authorivmai <ivmai>2009-11-06 08:16:05 +0100
committerIvan Maidanski <ivmai@mail.ru>2011-07-26 19:06:51 +0200
commitc3014dd71e141b940df7d06c3d08f17085a62a37 (patch)
tree49c8fbb14b4979528a707d11d2b35606f571e846 /misc.c
parentdabce82fc68eadae5f5de87dacf52eb0509c3361 (diff)
2009-11-06 Ivan Maidanski <ivmai@mail.ru>
* mach_dep.c (GC_push_regs): Remove STATIC (just to catch a duplicate symbol definition linker error). * misc.c (GC_clear_stack_inner): Ditto. * sparc_mach_dep.S (GC_push_regs): Comment out the reference. * sparc_mach_dep.S: Remove trailing spaces at EOLn; remove multiple trailing blank lines.
Diffstat (limited to 'misc.c')
-rw-r--r--misc.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/misc.c b/misc.c
index 4254096..3cec690 100644
--- a/misc.c
+++ b/misc.c
@@ -237,9 +237,11 @@ GC_INNER void GC_extend_size_map(size_t i)
#if defined(ASM_CLEAR_CODE)
void *GC_clear_stack_inner(void *, ptr_t);
#else
- /* Clear the stack up to about limit. Return arg. */
+ /* Clear the stack up to about limit. Return arg. This function is */
+ /* not static because it could also be errorneously defined in .S */
+ /* file, so this error would be caught by the linker. */
/*ARGSUSED*/
- STATIC void * GC_clear_stack_inner(void *arg, ptr_t limit)
+ void * GC_clear_stack_inner(void *arg, ptr_t limit)
{
word dummy[CLEAR_SIZE];