Include <arch/arm/iomd/beepvar.h> for beep_generate() prototype.

Include <machine/conf.h> for cdevsw function prototypes.
Correct argument types of beepioctl().
Add in-core RCSID.
This commit is contained in:
bjh21 2002-02-18 12:36:27 +00:00
parent 668fc0d2b7
commit 2aa99b4f12
1 changed files with 7 additions and 2 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: beep.c,v 1.4 2001/11/27 01:03:52 thorpej Exp $ */
/* $NetBSD: beep.c,v 1.5 2002/02/18 12:36:27 bjh21 Exp $ */
/*
* Copyright (c) 1995 Mark Brinicombe
@ -41,6 +41,9 @@
*/
#include <sys/param.h>
__RCSID("$NetBSD: beep.c,v 1.5 2002/02/18 12:36:27 bjh21 Exp $");
#include <sys/systm.h>
#include <sys/conf.h>
#include <sys/ioctl.h>
@ -51,11 +54,13 @@
#include <uvm/uvm_extern.h>
#include <machine/conf.h>
#include <machine/intr.h>
#include <arm/arm32/katelib.h>
#include <machine/pmap.h>
#include <machine/beep.h>
#include <arm/mainbus/mainbus.h>
#include <arm/iomd/beepvar.h>
#include <arm/iomd/vidc.h>
#include <arm/iomd/waveform.h>
#include <arm/iomd/iomdreg.h>
@ -270,7 +275,7 @@ beep_generate(void)
int
beepioctl(dev, cmd, data, flag, p)
dev_t dev;
int cmd;
u_long cmd;
caddr_t data;
int flag;
struct proc *p;