summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libcpu
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2002-03-20 14:12:33 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2002-03-20 14:12:33 +0000
commit5cf3f4169ccfea8131b9623e9e9678e57d724ea8 (patch)
tree47451b771322837955f338fb5292001e60884362 /c/src/lib/libcpu
parent2002-03-13 Greg Menke <gregory.menke@gsfc.nasa.gov> (diff)
downloadrtems-5cf3f4169ccfea8131b9623e9e9678e57d724ea8.tar.bz2
2002-03-19 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* cpuModel.h: PR 146. Adding guards. Remove unnecessary headers.
Diffstat (limited to 'c/src/lib/libcpu')
-rw-r--r--c/src/lib/libcpu/i386/ChangeLog5
-rw-r--r--c/src/lib/libcpu/i386/cpuModel.h10
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