remove-extra-auto-storage-specifiers
author Benjamin Smedberg <benjamin@smedbergs.us>
Sun, 20 Apr 2008 21:43:09 -0400
changeset 42 53c5098cb79e0223016b6901194a89d913f235fb
parent 41 84ba4253dc28a9bce6153579cee311af1278267c
permissions -rw-r--r--
Updates and imports

diff --git a/MMgc/GC.h b/MMgc/GC.h
--- a/MMgc/GC.h
+++ b/MMgc/GC.h
@@ -72,7 +72,7 @@
 		_size = (uintptr)_gc->GetStackTop() - (uintptr)_stack;
 #else
 #define MMGC_GET_STACK_EXTENTS(_gc, _stack, _size) \
-		volatile auto int save1,save2,save3,save4,save5,save6,save7;\
+		volatile int save1,save2,save3,save4,save5,save6,save7;\
 		asm("movl %%eax,%0" : "=r" (save1));\
 		asm("movl %%ebx,%0" : "=r" (save2));\
 		asm("movl %%ecx,%0" : "=r" (save3));\
@@ -107,7 +107,7 @@
 // 64bit - r8-r15?
 #define MMGC_GET_STACK_EXTENTS(_gc, _stack, _size) \
 		do { \
-		volatile auto int64 save1,save2,save3,save4,save5,save6,save7;\
+		volatile int64 save1,save2,save3,save4,save5,save6,save7;\
 		asm("mov %%rax,%0" : "=r" (save1));\
 		asm("mov %%rbx,%0" : "=r" (save2));\
 		asm("mov %%rcx,%0" : "=r" (save3));\