summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorMarc Balmer <mbalmer@cvs.openbsd.org>2008-06-19 09:58:41 +0000
committerMarc Balmer <mbalmer@cvs.openbsd.org>2008-06-19 09:58:41 +0000
commit435c1301c104f4f4db68a3dbf89a6d543f6e80f9 (patch)
tree2aad7bec381176235d426a392090c4ed4813829e /sys/arch
parenteda758eaab402b9ab6de87e3906a5565ee320d02 (diff)
Add OpenBSD CVS marker, proper type for probe function.
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>
*