From: Richard Kreckel Date: Mon, 10 May 2010 06:59:44 +0000 (+0200) Subject: Remove 'auto' keyword used as storage specifier. X-Git-Tag: cln_1-3-2~8 X-Git-Url: https://www.ginac.de/CLN/cln.git//cln.git?a=commitdiff_plain;h=8a99e9b27a51426ad7fabe651ca4b95382b3bdc2;p=cln.git Remove 'auto' keyword used as storage specifier. That obsolete keyword is being rededicated in C++-0x to another use. --- diff --git a/autoconf/intparam.c b/autoconf/intparam.c index 4372166..375ff80 100644 --- a/autoconf/intparam.c +++ b/autoconf/intparam.c @@ -498,7 +498,7 @@ void main8(void) { void main9(void) { #define get_endian(type,typestr,type_bitsize) \ { if (type_bitsize == uchar_bitsize * sizeof(type)) \ - { auto union { uchar einzeln[sizeof(type)]; type gesamt; } x; \ + { union { uchar einzeln[sizeof(type)]; type gesamt; } x; \ int i,j; \ boolean big_endian = TRUE; \ boolean little_endian = TRUE; \ @@ -540,7 +540,7 @@ void main9(void) { } long get_stack_direction(void) - { auto char dummy; + { char dummy; static char* dummyaddr = (char*)0; if (!(dummyaddr == (char*)0)) { return (&dummy) - dummyaddr; }