diff options
Diffstat (limited to 'c/src/lib')
-rw-r--r-- | c/src/lib/libcpu/i386/ChangeLog | 5 | ||||
-rw-r--r-- | 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 <corsepiu@faw.uni-ulm.de> + + * cpuModel.h: PR 146. + Adding guards. Remove unnecessary headers. + 2002-01-03 Ralf Corsepius <corsepiu@faw.uni-ulm.de> * 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 <stdio.h> -#include <libcpu/cpu.h> -#include <string.h> -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 |