From 5cf3f4169ccfea8131b9623e9e9678e57d724ea8 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Wed, 20 Mar 2002 14:12:33 +0000 Subject: 2002-03-19 Ralf Corsepius * cpuModel.h: PR 146. Adding guards. Remove unnecessary headers. --- c/src/lib/libcpu/i386/ChangeLog | 5 +++++ c/src/lib/libcpu/i386/cpuModel.h | 10 ++++++---- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/c/src/lib/libcpu/i386/ChangeLog b/c/src/lib/libcpu/i386/ChangeLog index bf6095c5f9..c07a93e3ea 100644 --- a/c/src/lib/libcpu/i386/ChangeLog +++ b/c/src/lib/libcpu/i386/ChangeLog @@ -1,3 +1,8 @@ +2002-03-19 Ralf Corsepius + + * cpuModel.h: PR 146. + Adding guards. Remove unnecessary headers. + 2002-01-03 Ralf Corsepius * i386/displayCpu.c: Include rtems/bspIo.h instead of bspIo.h. diff --git a/c/src/lib/libcpu/i386/cpuModel.h b/c/src/lib/libcpu/i386/cpuModel.h index a3e3bd201e..611ad56431 100644 --- a/c/src/lib/libcpu/i386/cpuModel.h +++ b/c/src/lib/libcpu/i386/cpuModel.h @@ -13,14 +13,14 @@ * $Id$ */ +#ifndef libcpu_cpuModel_h +#define libcpu_cpuModel_h + /* * Tell us the machine setup.. */ -#include -#include -#include -extern char hard_math; /* flotting point coprocessor present indicator */ +extern char hard_math; /* floating point coprocessor present indicator */ extern char x86; /* type of cpu (3 = 386, 4 =486, ...) */ extern char x86_model; extern char x86_mask; @@ -30,3 +30,5 @@ extern int have_cpuid; extern unsigned char Cx86_step; /* cyrix processor identification */ extern void printCpuInfo(); /* Display this information on console in ascii form */ + +#endif -- cgit v1.2.3