comparison src/alloca.c @ 5382:d363790fd936

Remove use of auto keyword. It is default and will be illegal in C++0X.
author Mats Lidell <matsl@xemacs.org>
date Wed, 23 Mar 2011 00:08:35 +0100
parents 6f2158fa75ed
children e2fae7783046
comparison
equal deleted inserted replaced
5381:4f39e57a82b4 5382:d363790fd936
76 76
77 static void 77 static void
78 find_stack_direction (void) 78 find_stack_direction (void)
79 { 79 {
80 static char *addr = NULL; /* Address of first `dummy', once known. */ 80 static char *addr = NULL; /* Address of first `dummy', once known. */
81 auto char dummy; /* To get stack address. */ 81 char dummy; /* To get stack address. */
82 82
83 if (addr == NULL) 83 if (addr == NULL)
84 { /* Initial entry. */ 84 { /* Initial entry. */
85 addr = ADDRESS_FUNCTION (dummy); 85 addr = ADDRESS_FUNCTION (dummy);
86 86
129 implementations of C, for example under Gould's UTX/32. */ 129 implementations of C, for example under Gould's UTX/32. */
130 130
131 pointer 131 pointer
132 xemacs_c_alloca (unsigned int size) 132 xemacs_c_alloca (unsigned int size)
133 { 133 {
134 auto char probe; /* Probes stack depth: */ 134 char probe; /* Probes stack depth: */
135 register char *depth = ADDRESS_FUNCTION (probe); 135 register char *depth = ADDRESS_FUNCTION (probe);
136 136
137 #if STACK_DIRECTION == 0 137 #if STACK_DIRECTION == 0
138 if (STACK_DIR == 0) /* Unknown growth direction. */ 138 if (STACK_DIR == 0) /* Unknown growth direction. */
139 find_stack_direction (); 139 find_stack_direction ();