changeset: 5441:d363790fd936
user: Mats Lidell <matsl(a)xemacs.org>
date: Wed Mar 23 00:08:35 2011 +0100
files: src/ChangeLog src/alloca.c
description:
Remove use of auto keyword. It is default and will be illegal in C++0X.
diff -r 4f39e57a82b4 -r d363790fd936 src/ChangeLog
--- a/src/ChangeLog Thu Mar 17 16:20:09 2011 +0100
+++ b/src/ChangeLog Wed Mar 23 00:08:35 2011 +0100
@@ -1,3 +1,10 @@
+2011-03-20 Mats Lidell <matsl(a)xemacs.org>
+
+ * alloca.c (find_stack_direction):
+ * alloca.c (xemacs_c_alloca):
+ Remove use of auto keyword. It is default and will be illegal in
+ C++0X.
+
2011-03-17 Didier Verna <didier(a)xemacs.org>
* data.c (init_errors_once_early): Define Qextent_read_only error.
diff -r 4f39e57a82b4 -r d363790fd936 src/alloca.c
--- a/src/alloca.c Thu Mar 17 16:20:09 2011 +0100
+++ b/src/alloca.c Wed Mar 23 00:08:35 2011 +0100
@@ -78,7 +78,7 @@
find_stack_direction (void)
{
static char *addr = NULL; /* Address of first `dummy', once known. */
- auto char dummy; /* To get stack address. */
+ char dummy; /* To get stack address. */
if (addr == NULL)
{ /* Initial entry. */
@@ -131,7 +131,7 @@
pointer
xemacs_c_alloca (unsigned int size)
{
- auto char probe; /* Probes stack depth: */
+ char probe; /* Probes stack depth: */
register char *depth = ADDRESS_FUNCTION (probe);
#if STACK_DIRECTION == 0
_______________________________________________
XEmacs-Patches mailing list
XEmacs-Patches(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-patches