From 435c1301c104f4f4db68a3dbf89a6d543f6e80f9 Mon Sep 17 00:00:00 2001 From: Marc Balmer Date: Thu, 19 Jun 2008 09:58:41 +0000 Subject: Add OpenBSD CVS marker, proper type for probe function. --- sys/arch/i386/i386/amdmsr.c | 5 ++--- sys/arch/i386/include/amdmsr.h | 2 ++ 2 files changed, 4 insertions(+), 3 deletions(-) (limited to 'sys/arch') 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 @@ -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 * -- cgit v1.2.3