From a041b840d2dd22d1ddfd03f7461e669be9bbaf1e Mon Sep 17 00:00:00 2001 From: Poul-Henning Kamp Date: Sun, 30 May 2004 15:16:07 +0000 Subject: [PATCH] struct cpu_nameclass is a private to identcpu.c, move it there. --- sys/i386/i386/identcpu.c | 5 ++++- sys/i386/include/cputypes.h | 5 ----- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/sys/i386/i386/identcpu.c b/sys/i386/i386/identcpu.c index 58c7393502e..1302ae7d058 100644 --- a/sys/i386/i386/identcpu.c +++ b/sys/i386/i386/identcpu.c @@ -116,7 +116,10 @@ static const char *cpu_brandtable[MAX_BRAND_INDEX + 1] = { }; #endif -static struct cpu_nameclass i386_cpus[] = { +static struct { + char *cpu_name; + int cpu_class; +} i386_cpus[] = { { "Intel 80286", CPUCLASS_286 }, /* CPU_286 */ { "i386SX", CPUCLASS_386 }, /* CPU_386SX */ { "i386DX", CPUCLASS_386 }, /* CPU_386 */ diff --git a/sys/i386/include/cputypes.h b/sys/i386/include/cputypes.h index 585df6753a2..d5777547d2c 100644 --- a/sys/i386/include/cputypes.h +++ b/sys/i386/include/cputypes.h @@ -61,11 +61,6 @@ #define CPU_P4 16 /* Intel Pentium 4 */ #ifndef LOCORE -struct cpu_nameclass { - char *cpu_name; - int cpu_class; -}; - extern int cpu; extern int cpu_class; #endif