undo my previous changes.

unbreaks build of acorn32.
This commit is contained in:
cegger 2009-05-12 10:22:31 +00:00
parent df73a4b15e
commit 288e30b1ba
2 changed files with 5 additions and 5 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: audiobell.c,v 1.7 2009/05/07 09:23:01 cegger Exp $ */
/* $NetBSD: audiobell.c,v 1.8 2009/05/12 10:22:31 cegger Exp $ */
/*
* Copyright (c) 1999 Richard Earnshaw
@ -31,7 +31,7 @@
*/
#include <sys/types.h>
__KERNEL_RCSID(0, "$NetBSD: audiobell.c,v 1.7 2009/05/07 09:23:01 cegger Exp $");
__KERNEL_RCSID(0, "$NetBSD: audiobell.c,v 1.8 2009/05/12 10:22:31 cegger Exp $");
#include <sys/audioio.h>
#include <sys/conf.h>
@ -134,7 +134,7 @@ audiobell_synthesize(uint8_t *buf, u_int pitch, u_int period, u_int volume)
}
void
audiobell(device_t arg, u_int pitch, u_int period, u_int volume, int poll)
audiobell(void *arg, u_int pitch, u_int period, u_int volume, int poll)
{
device_t audio = arg;
uint8_t *buf;

View File

@ -1,4 +1,4 @@
/* $NetBSD: audiobellvar.h,v 1.5 2009/05/07 09:23:01 cegger Exp $ */
/* $NetBSD: audiobellvar.h,v 1.6 2009/05/12 10:22:31 cegger Exp $ */
/*-
* Copyright (c) 2004 Ben Harris
@ -38,4 +38,4 @@
* This function is designed to be passed to pckbd_hookup_bell() and
* equivalents.
*/
extern void audiobell(device_t, u_int, u_int, u_int, int);
extern void audiobell(void *, u_int, u_int, u_int, int);