From 8a99e9b27a51426ad7fabe651ca4b95382b3bdc2 Mon Sep 17 00:00:00 2001 From: Richard Kreckel Date: Mon, 10 May 2010 08:59:44 +0200 Subject: [PATCH] Remove 'auto' keyword used as storage specifier. That obsolete keyword is being rededicated in C++-0x to another use. --- autoconf/intparam.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; }