From: Catherine Moore Date: Fri, 29 Oct 1999 16:13:23 +0000 (+0000) Subject: i386.h (ix86_cpu): Remove extern attribute. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4fba106154c2a7fd4679cfe0c20f68a9f1b92855;p=gcc.git i386.h (ix86_cpu): Remove extern attribute. * config/i386/i386.h (ix86_cpu): Remove extern attribute. * config/i386/i386.c (ix86_cpu): Add extern attribute. From-SVN: r30259 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 6f5d987efba..dc3552f25a8 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +Fri Oct 29 09:05:34 1999 Catherine Moore + + * config/i386/i386.h (ix86_cpu): Remove extern attribute. + * config/i386/i386.c (ix86_cpu): Add extern attribute. + Fri Oct 29 16:30:04 1999 Andrew Haley * config/mips/elf.h: remove NAME__MAIN and SYMBOL__MAIN. diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c index b2e2dff50ff..a1ac359d71e 100644 --- a/gcc/config/i386/i386.c +++ b/gcc/config/i386/i386.c @@ -183,7 +183,7 @@ static int pic_label_no = 0; #define ix86_stack_locals (current_function->machine->stack_locals) /* which cpu are we scheduling for */ -enum processor_type ix86_cpu; +extern enum processor_type ix86_cpu; /* which instruction set architecture to use. */ int ix86_arch; diff --git a/gcc/config/i386/i386.h b/gcc/config/i386/i386.h index 579b132468b..b9a1e16fd1e 100644 --- a/gcc/config/i386/i386.h +++ b/gcc/config/i386/i386.h @@ -237,7 +237,7 @@ enum processor_type PROCESSOR_max }; -extern enum processor_type ix86_cpu; +enum processor_type ix86_cpu; extern int ix86_arch;