libcpu/i388: Fix warning i displayCpu.c

This commit is contained in:
Joel Sherrill
2014-10-13 19:07:53 -05:00
parent 92a8cee689
commit 2f3f206a54
2 changed files with 10 additions and 7 deletions

View File

@@ -1,9 +1,10 @@
/* cpuModel.h /*
*
* This file contains declaration for variables and code * This file contains declaration for variables and code
* that may be used to get the Intel Cpu identification * that may be used to get the Intel Cpu identification
* that has been performed by checkCPUtypeSetCr0 function. * that has been performed by checkCPUtypeSetCr0 function.
* */
/*
* COPYRIGHT (c) 1998 valette@crf.canon.fr * COPYRIGHT (c) 1998 valette@crf.canon.fr
* *
* The license and distribution terms for this file may be * 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 int have_cpuid;
extern unsigned char Cx86_step; /* cyrix processor identification */ 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 */ /* determine if the CPU has a TSC */
#define x86_has_tsc() \ #define x86_has_tsc() \

View File

@@ -1,8 +1,9 @@
/* displayCpu.c /*
*
* This file contains code for displaying the Intel Cpu identification * This file contains code for displaying the Intel Cpu identification
* that has been performed by checkCPUtypeSetCr0 function. * that has been performed by checkCPUtypeSetCr0 function.
* */
/*
* This file was updated by Joel Sherrill <joel.sherrill@oarcorp.com> * This file was updated by Joel Sherrill <joel.sherrill@oarcorp.com>
* to define more capability bits, pick up more CPU model information, * to define more capability bits, pick up more CPU model information,
* and add more model strings. --joel (April 2010) * and add more model strings. --joel (April 2010)