summaryrefslogtreecommitdiff
path: root/Intel
diff options
context:
space:
mode:
authorDave Jones <davej@redhat.com>2008-12-24 00:20:04 -0500
committerDave Jones <davej@redhat.com>2008-12-24 00:20:04 -0500
commit54be854db8f001383b3f0e2dccca8dda96e1f678 (patch)
treea03f5057987e3e9db04b119447ed046105a98247 /Intel
parentfb1741bfba765f6762bab504e0989806e2937401 (diff)
Add some extra warnings (missing declarations) and fix up a bunch
of missing includes, and missed static declarations.
Diffstat (limited to 'Intel')
-rw-r--r--Intel/MSR-P4.c1
-rw-r--r--Intel/MSR-P6.c1
-rw-r--r--Intel/bluesmoke.c1
-rw-r--r--Intel/cachesize.c2
4 files changed, 4 insertions, 1 deletions
diff --git a/Intel/MSR-P4.c b/Intel/MSR-P4.c
index 2a8010d..dbdf45c 100644
--- a/Intel/MSR-P4.c
+++ b/Intel/MSR-P4.c
@@ -11,6 +11,7 @@
#include <unistd.h>
#include <sys/types.h>
#include "../x86info.h"
+#include "Intel.h"
void dump_p4_MSRs (struct cpudata *cpu)
{
diff --git a/Intel/MSR-P6.c b/Intel/MSR-P6.c
index fb989bd..345b6e9 100644
--- a/Intel/MSR-P6.c
+++ b/Intel/MSR-P6.c
@@ -11,6 +11,7 @@
#include <unistd.h>
#include <sys/types.h>
#include "../x86info.h"
+#include "Intel.h"
void dump_p6_MSRs (struct cpudata *cpu)
{
diff --git a/Intel/bluesmoke.c b/Intel/bluesmoke.c
index 6edd3cd..c3e2dd4 100644
--- a/Intel/bluesmoke.c
+++ b/Intel/bluesmoke.c
@@ -10,6 +10,7 @@
#include <unistd.h>
#include <sys/types.h>
#include "../x86info.h"
+#include "Intel.h"
#define MCG_CAP 0x0179
#define MCG_CTL_PBIT 8
diff --git a/Intel/cachesize.c b/Intel/cachesize.c
index 0fa010c..8c13a8a 100644
--- a/Intel/cachesize.c
+++ b/Intel/cachesize.c
@@ -229,7 +229,7 @@ static void decode_cache(struct cpudata *cpu, struct _cache_table *table, int ou
}
}
-void clean_unknowns(struct _cache_table *table)
+static void clean_unknowns(struct _cache_table *table)
{
int j=0;
int des;