diff options
author | eivind <eivind@FreeBSD.org> | 1998-02-09 04:45:53 +0000 |
---|---|---|
committer | eivind <eivind@FreeBSD.org> | 1998-02-09 04:45:53 +0000 |
commit | 7764f84ad9e53692980602aef6b4d76b001692ce (patch) | |
tree | d81c18cf2f258663376022918dd151e1e606e477 | |
parent | df18e38f6433584f3ac15c40b50bf9130badd49a (diff) | |
download | FreeBSD-src-7764f84ad9e53692980602aef6b4d76b001692ce.zip FreeBSD-src-7764f84ad9e53692980602aef6b4d76b001692ce.tar.gz |
Remove warnings from f00f_hack.
-rw-r--r-- | sys/amd64/amd64/machdep.c | 10 | ||||
-rw-r--r-- | sys/i386/i386/machdep.c | 10 |
2 files changed, 10 insertions, 10 deletions
diff --git a/sys/amd64/amd64/machdep.c b/sys/amd64/amd64/machdep.c index 4ea59b1..5c4f2b8 100644 --- a/sys/amd64/amd64/machdep.c +++ b/sys/amd64/amd64/machdep.c @@ -35,7 +35,7 @@ * SUCH DAMAGE. * * from: @(#)machdep.c 7.4 (Berkeley) 6/3/91 - * $Id: machdep.c,v 1.287 1998/02/04 22:32:08 eivind Exp $ + * $Id: machdep.c,v 1.288 1998/02/06 12:13:08 eivind Exp $ */ #include "apm.h" @@ -1559,13 +1559,13 @@ init386(first) } #if defined(I586_CPU) && !defined(NO_F00F_HACK) -void f00f_hack(void); +static void f00f_hack(void *unused); SYSINIT(f00f_hack, SI_SUB_INTRINSIC, SI_ORDER_FIRST, f00f_hack, NULL); -void -f00f_hack(void) { +static void +f00f_hack(void *unused) { struct region_descriptor r_idt; - unsigned char *tmp; + vm_offset_t tmp; int i; if (!has_f00f_bug) diff --git a/sys/i386/i386/machdep.c b/sys/i386/i386/machdep.c index 4ea59b1..5c4f2b8 100644 --- a/sys/i386/i386/machdep.c +++ b/sys/i386/i386/machdep.c @@ -35,7 +35,7 @@ * SUCH DAMAGE. * * from: @(#)machdep.c 7.4 (Berkeley) 6/3/91 - * $Id: machdep.c,v 1.287 1998/02/04 22:32:08 eivind Exp $ + * $Id: machdep.c,v 1.288 1998/02/06 12:13:08 eivind Exp $ */ #include "apm.h" @@ -1559,13 +1559,13 @@ init386(first) } #if defined(I586_CPU) && !defined(NO_F00F_HACK) -void f00f_hack(void); +static void f00f_hack(void *unused); SYSINIT(f00f_hack, SI_SUB_INTRINSIC, SI_ORDER_FIRST, f00f_hack, NULL); -void -f00f_hack(void) { +static void +f00f_hack(void *unused) { struct region_descriptor r_idt; - unsigned char *tmp; + vm_offset_t tmp; int i; if (!has_f00f_bug) |