Browse Source

Remove 'auto' keyword used as storage specifier.

That obsolete keyword is being rededicated in C++-0x to another use.
master
Richard Kreckel 15 years ago
parent
commit
8a99e9b27a
  1. 4
      autoconf/intparam.c

4
autoconf/intparam.c

@ -498,7 +498,7 @@ void main8(void) {
void main9(void) { void main9(void) {
#define get_endian(type,typestr,type_bitsize) \ #define get_endian(type,typestr,type_bitsize) \
{ if (type_bitsize == uchar_bitsize * sizeof(type)) \ { 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; \ int i,j; \
boolean big_endian = TRUE; \ boolean big_endian = TRUE; \
boolean little_endian = TRUE; \ boolean little_endian = TRUE; \
@ -540,7 +540,7 @@ void main9(void) {
} }
long get_stack_direction(void) long get_stack_direction(void)
{ auto char dummy;
{ char dummy;
static char* dummyaddr = (char*)0; static char* dummyaddr = (char*)0;
if (!(dummyaddr == (char*)0)) if (!(dummyaddr == (char*)0))
{ return (&dummy) - dummyaddr; } { return (&dummy) - dummyaddr; }

Loading…
Cancel
Save