Fix more GCC 3.3.1 nits.

This commit is contained in:
matt 2003-09-21 06:52:42 +00:00
parent cd3cb3dc0f
commit 533ad6c08b
2 changed files with 4 additions and 6 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: machdep.c,v 1.8 2003/05/31 00:38:05 kristerw Exp $ */
/* $NetBSD: machdep.c,v 1.9 2003/09/21 06:52:42 matt Exp $ */
/*-
* Copyright (c) 1998 Ben Harris
@ -32,7 +32,7 @@
#include <sys/param.h>
__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.8 2003/05/31 00:38:05 kristerw Exp $");
__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.9 2003/09/21 06:52:42 matt Exp $");
#include <sys/buf.h>
#include <sys/kernel.h>
@ -161,7 +161,7 @@ cpu_startup()
* and usually occupy more virtual memory than physical.
*/
size = MAXBSIZE * nbuf;
if (uvm_map(kernel_map, (vaddr_t *) &buffers, round_page(size),
if (uvm_map(kernel_map, (void *) &buffers, round_page(size),
NULL, UVM_UNKNOWN_OFFSET, 0,
UVM_MAPFLAG(UVM_PROT_NONE, UVM_PROT_NONE, UVM_INH_NONE,
UVM_ADV_NORMAL, 0)) != 0)

View File

@ -1,4 +1,4 @@
/* $NetBSD: intr.h,v 1.3 2003/06/16 20:00:56 thorpej Exp $ */
/* $NetBSD: intr.h,v 1.4 2003/09/21 06:52:43 matt Exp $ */
/*-
* Copyright (c) 1998, 2000 Ben Harris
* All rights reserved.
@ -82,8 +82,6 @@
#define spllowersoftclock() lowerspl(IPL_SOFTCLOCK)
#define splx(s) lowerspl(s)
extern int current_spl; /* XXX tautological name */
extern int splhigh(void);
extern int raisespl(int);
extern void lowerspl(int);