aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCatherine Moore <clm@cygnus.com>1999-10-29 16:13:23 +0000
committerCatherine Moore <clm@gcc.gnu.org>1999-10-29 12:13:23 -0400
commit4fba106154c2a7fd4679cfe0c20f68a9f1b92855 (patch)
tree3973a906b368b47ccae5e562848e3537f53780fe
parent273eca161d63212e277395b9495e55c3ee432310 (diff)
downloadgcc-4fba106154c2a7fd4679cfe0c20f68a9f1b92855.zip
gcc-4fba106154c2a7fd4679cfe0c20f68a9f1b92855.tar.gz
gcc-4fba106154c2a7fd4679cfe0c20f68a9f1b92855.tar.bz2
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
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/i386/i386.c2
-rw-r--r--gcc/config/i386/i386.h2
3 files changed, 7 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 6f5d987..dc3552f 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+Fri Oct 29 09:05:34 1999 Catherine Moore <clm@cygnus.com>
+
+ * 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 <aph@cygnus.com>
* 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 b2e2dff..a1ac359 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 579b132..b9a1e16 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;