[PATCH 30/62] libcpu/i388: Fix warning i displayCpu.c
Joel Sherrill
joel.sherrill at oarcorp.com
Wed Oct 15 20:00:20 UTC 2014
---
c/src/lib/libcpu/i386/cpuModel.h | 10 ++++++----
c/src/lib/libcpu/i386/displayCpu.c | 7 ++++---
2 files changed, 10 insertions(+), 7 deletions(-)
diff --git a/c/src/lib/libcpu/i386/cpuModel.h b/c/src/lib/libcpu/i386/cpuModel.h
index 277edef..d17839b 100644
--- a/c/src/lib/libcpu/i386/cpuModel.h
+++ b/c/src/lib/libcpu/i386/cpuModel.h
@@ -1,9 +1,10 @@
-/* cpuModel.h
- *
+/*
* This file contains declaration for variables and code
* that may be used to get the Intel Cpu identification
* that has been performed by checkCPUtypeSetCr0 function.
- *
+ */
+
+/*
* COPYRIGHT (c) 1998 valette at crf.canon.fr
*
* The license and distribution terms for this file may be
@@ -30,7 +31,8 @@ extern char x86_vendor_id[13];
extern int have_cpuid;
extern unsigned char Cx86_step; /* cyrix processor identification */
-extern void printCpuInfo(); /* Display this information on console in ascii form */
+/* Display this information on console in ascii form */
+extern void printCpuInfo(void);
/* determine if the CPU has a TSC */
#define x86_has_tsc() \
diff --git a/c/src/lib/libcpu/i386/displayCpu.c b/c/src/lib/libcpu/i386/displayCpu.c
index d784ae2..f8ab3b3 100644
--- a/c/src/lib/libcpu/i386/displayCpu.c
+++ b/c/src/lib/libcpu/i386/displayCpu.c
@@ -1,8 +1,9 @@
-/* displayCpu.c
- *
+/*
* This file contains code for displaying the Intel Cpu identification
* that has been performed by checkCPUtypeSetCr0 function.
- *
+ */
+
+/*
* This file was updated by Joel Sherrill <joel.sherrill at oarcorp.com>
* to define more capability bits, pick up more CPU model information,
* and add more model strings. --joel (April 2010)
--
1.9.3
More information about the devel
mailing list