summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/i386/i386/amdmsr.c5
-rw-r--r--sys/arch/i386/include/amdmsr.h2
2 files changed, 4 insertions, 3 deletions
diff --git a/sys/arch/i386/i386/amdmsr.c b/sys/arch/i386/i386/amdmsr.c
index c6bdab7611f..511b94392ee 100644
--- a/sys/arch/i386/i386/amdmsr.c
+++ b/sys/arch/i386/i386/amdmsr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: amdmsr.c,v 1.4 2008/06/18 20:15:54 mbalmer Exp $ */
+/* $OpenBSD: amdmsr.c,v 1.5 2008/06/19 09:58:40 mbalmer Exp $ */
/*
* Copyright (c) 2008 Marc Balmer <mbalmer@openbsd.org>
@@ -63,7 +63,7 @@ struct cfattach amdmsr_ca = {
};
int
-amdmsr_probe()
+amdmsr_probe(void)
{
u_int64_t gld_msr_cap;
int family, model, step;
@@ -82,7 +82,6 @@ amdmsr_probe()
return 1;
}
}
-
return 0;
}
diff --git a/sys/arch/i386/include/amdmsr.h b/sys/arch/i386/include/amdmsr.h
index 78abbd689eb..00750cfa58c 100644
--- a/sys/arch/i386/include/amdmsr.h
+++ b/sys/arch/i386/include/amdmsr.h
@@ -1,3 +1,5 @@
+/* $OpenBSD: amdmsr.h,v 1.3 2008/06/19 09:58:40 mbalmer Exp $ */
+
/*
* Copyright (c) 2008 Marc Balmer <mbalmer@openbsd.org>
*